Packages adding groups in %pre/post

Jesse Keating jkeating at redhat.com
Sun Dec 21 05:15:19 UTC 2008


I've noticed that in some situations, packages that add users/groups in
%pre/post can fail.  What I most often see happening is while groupadd
or useradd is installed, and properly requested by Requires(pre) or
Requires(post) on shadow-utils, the /etc/group and /etc/passwd files
themselves aren't in place.  These come from the setup package.

Should the shadow-utils package Require the setup package, or require it
in such a way that it is in place before anything that calls
shadow-utils?  Should the packages that need to add users/groups not
only Requires(foo) on shadow-utils, but also setup?

Thoughts? 
-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20081220/ba7da1b0/attachment.sig>


More information about the fedora-devel-list mailing list