Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   POSTUN scriptlet failure in rpm package cyrus-sasl (http://www.linux-archive.org/fedora-development/339899-postun-scriptlet-failure-rpm-package-cyrus-sasl.html)

Mat Booth 03-11-2010 12:52 PM

POSTUN scriptlet failure in rpm package cyrus-sasl
 
Saw this in today's updates:


Cleanup : cyrus-sasl-2.1.23-4.fc12.i686
195/254
groupdel: group 'saslauth' does not exist
Non-fatal POSTUN scriptlet failure in rpm package cyrus-sasl
warning: %postun(cyrus-sasl-2.1.23-4.fc12.i686) scriptlet failed, exit status 6


This looks benign, but I suppose it could check if the group exists
before attempting to delete it.

--
Mat Booth
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

yersinia 03-11-2010 01:08 PM

POSTUN scriptlet failure in rpm package cyrus-sasl
 
n Thu, Mar 11, 2010 at 2:52 PM, Mat Booth <fedora@matbooth.co.uk> wrote:

Saw this in today's updates:





*Cleanup * * * *: cyrus-sasl-2.1.23-4.fc12.i686

* * * * * * * * * * * * * * * * * * * * * * * * * 195/254

groupdel: group 'saslauth' does not exist
Already fixed

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

"Quentin Armitage" 03-11-2010 01:31 PM

POSTUN scriptlet failure in rpm package cyrus-sasl
 
See https://bugzilla.redhat.com/show_bug.cgi?id=572399


-----Original Message-----
From: devel-bounces@lists.fedoraproject.org
[mailto:devel-bounces@lists.fedoraproject.org] On Behalf Of Mat Booth
Sent: 11 March 2010 13:52
To: Development discussions related to Fedora
Subject: POSTUN scriptlet failure in rpm package cyrus-sasl

Saw this in today's updates:


Cleanup : cyrus-sasl-2.1.23-4.fc12.i686
195/254
groupdel: group 'saslauth' does not exist Non-fatal POSTUN scriptlet failure
in rpm package cyrus-sasl
warning: %postun(cyrus-sasl-2.1.23-4.fc12.i686) scriptlet failed, exit
status 6


This looks benign, but I suppose it could check if the group exists before
attempting to delete it.

--
Mat Booth
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Toshio Kuratomi 03-11-2010 02:04 PM

POSTUN scriptlet failure in rpm package cyrus-sasl
 
On Thu, Mar 11, 2010 at 02:31:43PM -0000, Quentin Armitage wrote:
> See https://bugzilla.redhat.com/show_bug.cgi?id=572399
>
>
>> groupdel: group 'saslauth' does not exist Non-fatal POSTUN scriptlet failure
>> in rpm package cyrus-sasl
>> warning: %postun(cyrus-sasl-2.1.23-4.fc12.i686) scriptlet failed, exit
>> status 6
>>
>>
>> This looks benign, but I suppose it could check if the group exists before
>> attempting to delete it.
>>

There's actually a not so benign side of this. Here's what the Guidelines
say about removing groups:

"""
We never remove users or groups created by packages. There's no sane way to
check if files owned by those users/groups are left behind (and even if
there would, what would we do to them?), and leaving those behind with
ownerships pointing to now nonexistent users/groups may result in security
issues when a semantically unrelated user/group is created later and reuses
the UID/GID. Also, in some setups deleting the user/group might not be
possible or/nor desirable (eg. when using a shared remote user/group
database). Cleanup of unused users/groups is left to the system
administrators to take care of if they so desire.
"""

https://fedoraproject.org/wiki/Packaging:UsersAndGroups

I've updated bugzilla with this information as well.

-Toshoi
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Tomas Mraz 03-11-2010 02:35 PM

POSTUN scriptlet failure in rpm package cyrus-sasl
 
On Thu, 2010-03-11 at 10:04 -0500, Toshio Kuratomi wrote:
> On Thu, Mar 11, 2010 at 02:31:43PM -0000, Quentin Armitage wrote:
> > See https://bugzilla.redhat.com/show_bug.cgi?id=572399
> >
> >
> >> groupdel: group 'saslauth' does not exist Non-fatal POSTUN scriptlet failure
> >> in rpm package cyrus-sasl
> >> warning: %postun(cyrus-sasl-2.1.23-4.fc12.i686) scriptlet failed, exit
> >> status 6
> >>
> >>
> >> This looks benign, but I suppose it could check if the group exists before
> >> attempting to delete it.
> >>
>
> There's actually a not so benign side of this. Here's what the Guidelines
> say about removing groups:
>
> """
> We never remove users or groups created by packages. There's no sane way to
> check if files owned by those users/groups are left behind (and even if
> there would, what would we do to them?), and leaving those behind with
> ownerships pointing to now nonexistent users/groups may result in security
> issues when a semantically unrelated user/group is created later and reuses
> the UID/GID. Also, in some setups deleting the user/group might not be
> possible or/nor desirable (eg. when using a shared remote user/group
> database). Cleanup of unused users/groups is left to the system
> administrators to take care of if they so desire.
> """
>
> https://fedoraproject.org/wiki/Packaging:UsersAndGroups
>
> I've updated bugzilla with this information as well.

Someone should perhaps correct the
http://fedoraproject.org/wiki/PackageUserCreation then.

Or add some rules on how to resolve conflicts among the current rules.
(I'm joking.)

--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


All times are GMT. The time now is 06:38 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.