[Adduser-devel] Bug#559423: delgroup: incorrect exit status

Gabor Kiss kissg at ssg.ki.iif.hu
Fri Dec 4 09:17:42 UTC 2009


Package: adduser
Version: 3.110
Severity: normal

Deluser(8) writes:
       --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.

Actually in case of deleting non-existent group the exit code is 3 even
if I give --system option.

Regards

Gabor

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'proposed-updates')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]    1.5.24          Debian configuration management sy
ii  passwd                   1:4.1.1-6       change and administer password and
ii  perl-base                5.10.0-19lenny2 minimal Perl system

adduser recommends no packages.

Versions of packages adduser suggests:
ii  liblocale-gettext-perl   1.05-4          Using libc functions for internati
ii  perl-modules             5.10.0-19lenny2 Core Perl modules

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





More information about the Adduser-devel mailing list