Packages adding groups in %pre/post
Bill Nottingham
notting at redhat.com
Mon Dec 22 15:42:06 UTC 2008
Jesse Keating (jkeating at redhat.com) said:
> 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?
How on earth do you get things installed w/o setup first?
glibc -> basesystem -> setup.
Bill
More information about the devel
mailing list