non fedora-usermgmt user creation

Michael Schwendt bugs.michael at gmx.net
Wed Mar 22 14:13:21 UTC 2006


On Wed, 22 Mar 2006 13:09:37 +0000, Paul Howarth wrote:

> 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?

Highest package EVR wins, so it's even possible to override the default
package without "removing" a package in a read-only repo.

> 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.

How does he do that?

> Which negates 
> the argument for having the Requires(pre), doesn't it?

The answer to this depends on your installation scenario.




More information about the fedora-extras-list mailing list