[Adduser-devel] Bug#284688: adduser: adding user to group fails if group already has an invalide user in it

geoffc@strategicdata.com.au, 284688@bugs.debian.org geoffc@strategicdata.com.au, 284688@bugs.debian.org
Wed, 08 Dec 2004 12:55:37 +1100

Package: adduser
Version: 3.59
Severity: normal

It seems that if a group somehow has a user in it that does not exist,
you can't add a user to that group anymore.

root@host:~$ adduser geoffc src
Adding user `geoffc' to group `src'...
gpasswd: unknown user kierstyg
adduser: `/usr/bin/gpasswd -M
src' returned error code 1.  Aborting.
Cleaning up.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages adduser depends on:
ii  debconf               Debian configuration management sy
ii  passwd                      1:4.0.3-30.3 Change and administer password and
ii  perl-base                   5.8.4-3      The Pathologically Eclectic Rubbis

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