PackageUserRegistry

Daniel P. Berrange berrange at redhat.com
Wed Jun 22 11:09:14 UTC 2011


On Wed, Jun 22, 2011 at 12:53:23PM +0200, Jan-Frode Myklebust wrote:
> On Wed, Jun 22, 2011 at 11:55:33AM +0200, Michael Schwendt wrote:
> > 
> > You are misreading the PackageUserRegistry page. Or more likely, you haven't
> > read it carefully enough to follow the link in the first sentence. RHEL
> > doesn't use the 'fedora-usermgmt' feature. Not even Fedora uses it everywhere.
> 
> Yes, I see that -- but my problem is still the same, I need to register
> a user/group with a static numerical id. So, is there any way to get a
> number assigned and know that no other RHEL/Fedora packages will
> be allowed to conflict ?

I have always filed a BZ against the 'setup' RPM asking for a
static uid/gid pair to be allocated, and the changelogs support
this approach:

$ rpm -q setup --changelog | grep reserve
- reserve uidgid pair 109:109 for rhevm(#652287)
- reserve uidgid pair 172:172 for rtkit (#609171)
- reserve uidgid pair 170:170 for avahi-autoipd
- reserve uidgid pair 171:171 for pulse (pulseaudio)
- reserve uidgid pair 140:140 for ricci daemon(#585957)
- reserve uidgid pair 141:141 for luci daemon(#585958)
- reserve uidgid pair 155:155 for stap-server(#555813)
- reserve uidgid pair 113:113 for usbmuxd(#556525)
- reserve uidgid pair 133:133 for bacula(#554705)
- reserve uidgid pair 112:112 for vhostmd (#534110)
...snip...

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


More information about the devel mailing list