Re: uids for daemons on a spin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Martin Langhoff" <martin.langhoff@xxxxxxxxx> 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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux