Your message dated Sun, 12 Feb 2006 08:17:07 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#352225: fixed in adduser 3.83
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: adduser
Version: 3.82
Severity: grave
Justification: renders package unusable

Severity is set to grave because it breaks one of the two core
functionalities of adduser, and one that is used by most postinst scripts
that use adduser, to boot.

Adduser is failing to correctly deal with a pre-existing system user when
asked to update it (with no modifications, even!).  This is caused by a bug
in existing_user_ok.

How to reproduce:

Excerpt of /etc/adduser.conf:
# FIRST_SYSTEM_UID to LAST_SYSTEM_UID inclusive is the range for UIDs
# for dynamically allocated administrative and system accounts.
FIRST_SYSTEM_UID=100
LAST_SYSTEM_UID=999

# FIRST_UID to LAST_UID inclusive is the range of UIDs of dynamically
# allocated user accounts.
FIRST_UID=1000
LAST_UID=29999

# The USERGROUPS variable can be either "yes" or "no".  If "yes" each
# created user will be given their own group to use as a default, and
# their home directories will be g+s.  If "no", each created user will
# be placed in the group whose gid is USERS_GID (see below).
USERGROUPS=yes

Description of the bug:

# getent passwd hplip
hplip:x:125:7:HPLIP system user,,,:/var/run/hplip:/bin/false

# getent group lp
lp:x:7:lp

# adduser --system --ingroup lp --home /var/run/hplip --gecos 'HPLIP system 
user' --shell /bin/false --disabled-password hplip ; echo $?
adduser: Warning: The home dir you specified already exists.
The user `hplip' already exists with a different uid. Aborting
1

The bug is in routine existing_user_ok.  It must not return 2 if $new_uid is
undefined.  In that case, only 0 and 1 are valid results.

I miss a third return value, "3" for users which exist but are not in the
system range (which is a valid result independent of $new_uid being defined
or not).  It is useful to generate a printf (gtx("The user `%s' already
exists as a non-system user. Aborting\n"), $new_name) error message.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2-debian2+bluesmoke+lm85
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]         1.4.70     Debian configuration management sy
ii  passwd                        1:4.0.14-5 change and administer password and
ii  perl-base                     5.8.8-1    The Pathologically Eclectic Rubbis

adduser recommends no packages.

-- debconf information:
* adduser/homedir-permission: true

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


--- End Message ---
--- Begin Message ---
Source: adduser
Source-Version: 3.83

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive:

adduser_3.83.dsc
  to pool/main/a/adduser/adduser_3.83.dsc
adduser_3.83.tar.gz
  to pool/main/a/adduser/adduser_3.83.tar.gz
adduser_3.83_all.deb
  to pool/main/a/adduser/adduser_3.83_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <[EMAIL PROTECTED]> (supplier of updated adduser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 12 Feb 2006 13:51:09 +0000
Source: adduser
Binary: adduser
Architecture: source all
Version: 3.83
Distribution: unstable
Urgency: low
Maintainer: Debian Adduser Developers <[EMAIL PROTECTED]>
Changed-By: Marc Haber <[EMAIL PROTECTED]>
Description: 
 adduser    - Add and remove users and groups
Closes: 346562 352225 352355 352496
Changes: 
 adduser (3.83) unstable; urgency=low
 .
   * Update French (fr) manpage translation.
     Thanks to Nicolas François. (mh) Closes: #346562
   * Apply out-of-band patch from Thomas Huriaux to clean up po4a
     handling. (mh)
   * Make $configfile a reference in deluser GetOptions call (perl
     5.8.8 checks this). (mh) Closes: #352496
   * Fixed bug which prevented adduser from adding an already existing user
     with the same uid/... again. Thanks to Henrique de Moraes Holschuh for the
     detailed bug report. (jh) Closes: #352225
   * Updated adduser.8 : don't assume that adduser creates a new user with
     uid == gid (jh)
   * Update Swedish (sv) program and manpage translation, again from
     Daniel Nylander. (mh) Closes: #352355
Files: 
 dcc9f17a23274fb22b6f194b7b0f7702 645 admin important adduser_3.83.dsc
 37f4291f2fc41fed80c5f31894eccba8 192415 admin important adduser_3.83.tar.gz
 498ba414fc6982aee93cef6b09212a3d 157456 admin important adduser_3.83_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD714RgZalRGu6PIQRAuBCAJwIv8rQ3CgkuW5f1hpMhxNeCpb0oQCgqWaZ
NK5gdOFAZIHhaPbEQJTjLLc=
=PCnJ
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to