Marc Haber
2005-May-08 16:03 UTC
Bug#308175: adduser: check whether group can be deleted before starting deluser operation
Package: adduser Version: 3.63 Severity: wishlist Hi, if (implicit?) deletion of a group is asked for, adduser should check whether the group is empty (including a check for the group being primary group for a different user) and refuse the operation if deleting the group would leave the system in an inconsistent state. Greetings Marc -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, ''unstable''), (500, ''testing'') Architecture: i386 (i686) Kernel: Linux 2.6.9-zgserver Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages adduser depends on: ii debconf 1.4.48 Debian configuration management sy ii passwd 1:4.0.3-31sarge3 change and administer password and ii perl-base 5.8.4-8 The Pathologically Eclectic Rubbis -- debconf information excluded
Debian Bug Tracking System
2005-Jul-16 17:26 UTC
[Adduser-devel] Bug#308175: marked as done (adduser: check whether group can be deleted before starting deluser operation)
Your message dated Fri, 15 Jul 2005 14:17:09 -0400 with message-id <E1DtUkH-00046U-00@newraff.debian.org> and subject line Bug#308175: fixed in adduser 3.65 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) -------------------------------------- Received: (at submit) by bugs.debian.org; 8 May 2005 16:03:46 +0000>From mh+debian-bugs@zugschlus.de Sun May 08 09:03:46 2005Return-path: <mh+debian-bugs@zugschlus.de> Received: from 5301d.unt0.torres.l21.ma.zugschlus.de (torres.int.l21.ma.zugschlus.de) [217.151.83.1] (Debian-exim) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DUoFt-0007T4-00; Sun, 08 May 2005 09:03:46 -0700 Received: from lefler.int.l21.ma.zugschlus.de ([192.168.130.38]) by torres.int.l21.ma.zugschlus.de with esmtp (Exim 4.50) id 1DUoFs-0000fv-8P; Sun, 08 May 2005 18:03:44 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Marc Haber <mh+debian-bugs@zugschlus.de> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: adduser: check whether group can be deleted before starting deluser operation X-Mailer: reportbug 3.11 Date: Sun, 08 May 2005 18:03:43 +0200 Message-Id: <E1DUoFs-0000fv-8P@torres.int.l21.ma.zugschlus.de> Delivered-To: submit@bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: adduser Version: 3.63 Severity: wishlist Hi, if (implicit?) deletion of a group is asked for, adduser should check whether the group is empty (including a check for the group being primary group for a different user) and refuse the operation if deleting the group would leave the system in an inconsistent state. Greetings Marc -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, ''unstable''), (500, ''testing'') Architecture: i386 (i686) Kernel: Linux 2.6.9-zgserver Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages adduser depends on: ii debconf 1.4.48 Debian configuration management sy ii passwd 1:4.0.3-31sarge3 change and administer password and ii perl-base 5.8.4-8 The Pathologically Eclectic Rubbis -- debconf information excluded --------------------------------------- Received: (at 308175-close) by bugs.debian.org; 15 Jul 2005 18:23:59 +0000>From katie@ftp-master.debian.org Fri Jul 15 11:23:58 2005Return-path: <katie@ftp-master.debian.org> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1DtUqs-0004SN-00; Fri, 15 Jul 2005 11:23:58 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1DtUkH-00046U-00; Fri, 15 Jul 2005 14:17:09 -0400 From: Marc Haber <mh+debian-packages@zugschlus.de> To: 308175-close@bugs.debian.org X-Katie: $Revision: 1.56 $ Subject: Bug#308175: fixed in adduser 3.65 Message-Id: <E1DtUkH-00046U-00@newraff.debian.org> Sender: Archive Administrator <katie@ftp-master.debian.org> Date: Fri, 15 Jul 2005 14:17:09 -0400 Delivered-To: 308175-close@bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 3 Source: adduser Source-Version: 3.65 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.65.dsc to pool/main/a/adduser/adduser_3.65.dsc adduser_3.65.tar.gz to pool/main/a/adduser/adduser_3.65.tar.gz adduser_3.65_all.deb to pool/main/a/adduser/adduser_3.65_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 308175@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Marc Haber <mh+debian-packages@zugschlus.de> (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 ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Fri, 15 Jul 2005 18:03:40 +0000 Source: adduser Binary: adduser Architecture: source all Version: 3.65 Distribution: unstable Urgency: low Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org> Changed-By: Marc Haber <mh+debian-packages@zugschlus.de> Description: adduser - Add and remove users and groups Closes: 284688 308175 315071 315250 316089 317944 Changes: adduser (3.65) unstable; urgency=low . * do not abort if chage returns exit code 3. This is an indication that password aging cannot be set due to shadow not being enabled. Closes: #316089, #317944. * get_group_members now filters out non-existent users. Closes: #284688, #315071, #315250 * Use getpwent to determine whether a to-be-deleted group is primary group for users to enhance compatibility with non-/etc/passwd backends. Closes: #308175 * Standards-Version: 3.6.2 (no changes needed) Files: d00f0101aafb611e422f425acaafd7c0 637 base important adduser_3.65.dsc eb05e197db61189308df4733d9772d68 108680 base important adduser_3.65.tar.gz 73eaaa39633be00cb7b75dbb057d48bd 100144 base important adduser_3.65_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iEYEARECAAYFAkLX+4wACgkQgZalRGu6PITpagCgmIJ9FxSQuCkzWyjJ9+AvgjN+ lC8An0UvoeshcFfDZE3GrXLLQPaFWGVD =/gU/ -----END PGP SIGNATURE-----