Michael Schwendt wrote:
On Wed, 22 Mar 2006 12:26:16 +0000, Paul Howarth wrote:How did the administrator enable fedora-usermgmt without installing it first?For instance, via any package in the transaction which provides the 'setup(fedora-usermgmt)' virtual capability.
Right, so that would be a custom package that provided this virtual and actually contained the configuration information specifying the UID/GID range to use.
However, given that fedora-usermgmt-setup in Extras provides this virtual, any admin relying on the virtual to pull in the required dependency as part of one big transaction would be relying on yum to choose the right package (the custom one from the local repo rather than fedora-usermgmt-setup from Extras), which doesn't sound like a very sane thing to do. Whilst yum's behaviour is currently to pick the package with the shortest name, that might change someday, mightn't it?
To be certain, a careful admin would install the custom package first so that yum didn't get a chance to make the wrong decision. Which negates the argument for having the Requires(pre), doesn't it?
Paul.