[Adduser-devel] Bug#351681: adduser tries to re-use existing GID

Friedrich Delgado Friedrichs friedel at nomaden.org
Mon Feb 6 17:32:26 UTC 2006


Package: adduser
Version: 3.81
Severity: important


I'm sorry if I report this bug against the wrong package.

I've tried hard to find the reason for the error and found out that
the postinstall scripts for the three packages in question all call
adduser in the same way, which fails, so I decided that adduser was
the best package to report this bug against.

Installing the packages chipcard-tools and libchipcard2-tools and
upgrade of oidentd fails with the following error messages:

----8<---

Reading package lists... Done  
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up chipcard-tools (0.9.1-7) ...
Adding chipcard-tools daemon account to the system...
groupadd: GID 118 is not unique
adduser: `/usr/sbin/groupadd -g 118 chipcard' returned error code 4.  Aborting.
dpkg: error processing chipcard-tools (--configure):
 subprocess post-installation script returned error exit status 4
Setting up libchipcard2-tools (1.9.15.99+1.9.16alpha-1) ...
Adding chipcard-tools daemon account to the system...
groupadd: GID 118 is not unique
adduser: `/usr/sbin/groupadd -g 118 chipcard' returned error code 4.  Aborting.
dpkg: error processing libchipcard2-tools (--configure):
 subprocess post-installation script returned error exit status 4
Setting up oidentd (2.0.7-4) ...
groupadd: GID 118 is not unique
adduser: `/usr/sbin/groupadd -g 118 oident' returned error code 4.  Aborting.
dpkg: error processing oidentd (--configure):
 subprocess post-installation script returned error exit status 4
Errors were encountered while processing:
 chipcard-tools
 libchipcard2-tools
 oidentd
E: Sub-process /usr/bin/dpkg returned an error code (1)

--->8----

The group with ID 118 is the "postdrop" group, owned (and created) by
the postfix package.

The format of my /etc/group file looks completely correct, the only
manual edits in that file have been adding users to groups, no
rearranging, creation or deletion of groups.

Kind regards
     Friedel

-- System Information:
Debian Release: unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

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

adduser recommends no packages.

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




More information about the Adduser-devel mailing list