FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-22-2011, 09:55 AM
Michael Schwendt
 
Default PackageUserRegistry

On Wed, 22 Jun 2011 11:22:26 +0200, JFM (Jan-Frode) wrote:

> We're trying to package "Apache Traffic Server" for fedora, and need a
> dedicated uid/gid for user/group "ats" running this services since it
> includes clustering and config management over more than one node.
>
> I've found the PackageUserRegistry wiki page at:
>
> https://fedoraproject.org/wiki/PackageUserRegistry
>
> but it doesn't seem quite right, as there are many users there
> conflicting with the RHEL standard users:
>
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-users-groups-standard-users.html
>
> So, could anybody help me with the procedure for getting a new
> user/group registered ?

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.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-22-2011, 10:53 AM
Jan-Frode Myklebust
 
Default PackageUserRegistry

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 ?


-jf
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-22-2011, 11:09 AM
"Daniel P. Berrange"
 
Default PackageUserRegistry

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 :|
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-22-2011, 11:59 AM
Michael Schwendt
 
Default PackageUserRegistry

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-22-2011, 11:59 AM
Michael Schwendt
 
Default PackageUserRegistry

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-22-2011, 07:40 PM
Jan-Frode Myklebust
 
Default PackageUserRegistry

On Wed, Jun 22, 2011 at 12:09:14PM +0100, Daniel P. Berrange wrote:
> 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:

Great, thanks!

https://bugzilla.redhat.com/show_bug.cgi?id=715266


-jf
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 11:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org