[Adduser-devel] Bug#372599: Fails to purge
Stephen Gran
sgran at debian.org
Tue Jun 13 15:36:06 UTC 2006
tags 372599 +pending
thanks
This one time, at band camp, Jochen Friedrich said:
> Hi Julien,
>
> while the order of commands in snmpd.postrm might not be optimal,
> this is rather a bug of deluser --system returning an error on
> non-existing users while the man page states it doesn't.
>
> With adduser 3.85:
>
> # deluser --quiet --system blabla; echo $?
> 0
>
> With adduser 3.87:
>
> # deluser --quiet --system blabla; echo $?
> 2
>
> This is what the man page says:
>
> --system
> Only delete if user/group is a system user/group. This avoids
> accidentally deleting non-system users/groups. Additionally, if
> the user does not exist, no error value is returned. This option
> is mainly for use in Debian package maintainer scripts.
>
> Thus reassigning to adduser.
Fixed in svn. Thanks.
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran at debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060613/f3abe066/attachment.pgp
More information about the Adduser-devel
mailing list