PackageUserRegistry

Michael Schwendt mschwendt at gmail.com
Wed Jun 22 11:59:42 UTC 2011


On Wed, 22 Jun 2011 12:09:14 +0100, DPB (Daniel) 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 ?

Other than the suggestion further below, the Fedora Packaging Guidelines
don't handle static uid/gid assignment yet:

  https://fedoraproject.org/wiki/Packaging:UsersAndGroups
  |
  | [...] and more are being investigated, including possibilities
  | to make the mapping static at package build time. 

 => https://fedoraproject.org/wiki/PackagingDrafts/UsersAndGroupsThoughts

So, nothing there yet.

> 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


More information about the devel mailing list