uids for daemons on a spin
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Wed Aug 6 18:28:49 UTC 2008
"Martin Langhoff" <martin.langhoff at gmail.com> writes:
> So I would need to have an "config" package that
> - depends on fedora-usermgmt fedora-usermgmt-shadowutils
> - is guaranteed to install _before_ any other package that depends on
> fedora-usermgmt
See
http://fedoraproject.org/wikiold/PackageUserCreation (old wiki;
conversion to new broke some things)
https://www.redhat.com/archives/fedora-extras-list/2006-March/msg00793.html
http://ensc.de/fedora/fedora-usermgmt-my.spec
Latter is a spec file which should be used to create a package for a
local repository. Register this repository in your kickstart file, and
add 'fedora-usermgmt-my' to the %files section. Due to its shorter
name it wins against 'fedora-usermgmt-shadow-utils' (which applies the
non-predictable behaviour by default).
When there are proper deps (which should be the case when using the
recommended macros), this customization happens before any package is
installed which uses fedora-usermgmt.
> It's a bit of circular logic. Can I package my own
> "fedora-usermgmt-yesjustdoit" version of the -shadowutils with
> metadata that makes it win over the "-dontreallydoanything" package?
As said above: abuse the rpm behaviour to prefer shorter names...
Enrico
More information about the fedora-devel-list
mailing list