[Pkg-shadow-devel] Bug#295416: marked as forwarded (userdel should not remove the group which is primary for someone else)
Debian Bug Tracking System
owner@bugs.debian.org
Sat, 30 Apr 2005 17:03:09 -0700
Your message dated Sun, 1 May 2005 02:50:42 +0300
with message-id <20050430235041.GA22179@cherokee.kiev.ua>
has caused the Debian Bug report #295416,
regarding userdel should not remove the group which is primary for someone else
to be marked as having been forwarded to the upstream software
author(s) Tomasz KÅ‚oczko <kloczek@zie.pg.gda.pl>.
(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 295416-forwarded) by bugs.debian.org; 30 Apr 2005 23:48:12 +0000
>From arg@online.com.ua Sat Apr 30 16:48:12 2005
Return-path: <arg@online.com.ua>
Received: from cluster2.uol.ua (cluster1.uol.ua) [195.123.61.210] (root)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DS1gy-0005ml-00; Sat, 30 Apr 2005 16:48:12 -0700
Received: from [194.242.118.204] (account arg@online.com.ua HELO localhost)
by cluster1.uol.ua ( Ukraine Online SMTP 4.2.8)
with ESMTP-TLS id 18862557; Sun, 01 May 2005 03:04:38 +0300
Date: Sun, 1 May 2005 02:50:42 +0300
From: Alexander Gattin <arg@online.com.ua>
To: Tomasz =?utf-8?Q?K=C5=82oczko?= <kloczek@zie.pg.gda.pl>
Cc: 295416-forwarded@bugs.debian.org, control@bugs.debian.org
Subject: Bug#295416: userdel should not remove the group which is primary for someone else
Message-ID: <20050430235041.GA22179@cherokee.kiev.ua>
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-u
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Delivered-To: 295416-forwarded@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_BUG_NUMBER,
VALID_BTS_CONTROL autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 2
retitle 295416 userdel should not remove the group which is primary for someone else
thanks
Hi, Tomasz!
Please, indicate what do you think about this bug.
/* Going through standard procedure for
"forwarded-upstream" ;) */
On Mon, Apr 18, 2005 at 06:30:28PM +0200, Christian Perrier wrote:
> However, if for some (good or bad) reason, the suer groups has other
> members than the currently deleted user, I agree with the bug
> submitterš: userdel should at least issue a warning....or maybe even
> *not* delete the group (and issue an "error" message).
>
> Any thoughtsš?
Yes. :)
This is not about removing groups which have other
members in them. And userdel never did this anyway
(userdel tries to remove personal groups since r1.16
CVS version, but only if USERGROUPS_ENAB is set and
group has no other members):
> /*
> * we've removed their name from all the groups above, so
> * now if they have a group with the same name as their
> * user name, with no members, we delete it.
> */
>
> grp = getgrnam (user_name);
> if (grp && getdef_bool ("USERGROUPS_ENAB")
> && (grp->gr_mem[0] == NULL)) {
>
> gr_remove (grp->gr_name);
IMHO the problem is in removing groups which are empty
but are refered in /etc/passwd as primary for someone
else!
_This_ is a bug.
And proposed verbose indication of group removal is of
very low priority/value, IMHO again.
--
WBR,
xrgtn