Bug 991505
Summary: | Documented OpenStack reserved uids/gids | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Dave Sullivan <dsulliva> |
Component: | doc-Configuration_Reference_Guide | Assignee: | Summer Long <slong> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ecs-bugs |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | alyoung, dsulliva, hateya, sgordon, slong, yeylon |
Target Milestone: | --- | Keywords: | Documentation, Triaged |
Target Release: | 4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-06 03:40:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 991508 | ||
Bug Blocks: | 1011085 |
Description
Dave Sullivan
2013-08-02 15:11:00 UTC
Summer this looks like configuration reference material to me, perhaps raise a launchpad bug and discuss with Tom? I suspect concerns might be: 1) Ubuntu etc. may have different values so the upstream guide may need multiple table. Worth checking though as there is a good chance they are actually using the same values for most of these. 2) These two are actually coming from base-RHEL, so I'm not sure we really need/want them in the RHOS configuration material (though follow up is likely required to determine where, if anywhere, this is covered for RHEL and reference it): mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash qpidd:x:498:499:Owner of Qpidd Daemons:/var/lib/qpidd:/sbin/nologin Not sure if memcached falls into that category as well. 3) Upstream probably wont include this one as it's something we "bolt on" in our distribution (I also wonder if, related to this, there are users for puppet, foreman, etc. that we are adding): nagios:x:496:495::/var/spool/nagios:/sbin/nologin At the least though the guide should included a reference table of the core daemons which would leave: keystone:x:163:163:OpenStack Keystone Daemons:/var/lib/keystone:/sbin/nologin glance:x:161:161:OpenStack Glance Daemons:/var/lib/glance:/sbin/nologin cinder:x:165:165:OpenStack Cinder Daemons:/var/lib/cinder:/sbin/nologin nova:x:162:162:OpenStack Nova Daemons:/var/lib/nova:/sbin/nologin Plus neutron, swift, ceilometer, heat? Though I don't know what their IDs are. Depends on how exactly gids/uids would be used in OpenStack configuration. If they're really only needed in creating packages, then perhaps not. I couldn't see anything in current OS config. All OS created config already takes reserved bits into account. Have sent Steve an email with usage question. Sometimes organizations assign UIDs/GIDs in the reserved range (currently 0-500 in RHEL) to other third party software or systems. As a result when installing software that requires one or more UIDs/GIDs administrators are interested in knowing what they are so they can change them (or those of existing systems if necessary. It may also come up via a security audit. Given OpenStack appears to reserve a number of UIDs/GIDs in a typical deployment (theoretically increasing the chances of clashing with something else installed at a specific site) I think the request has merit. Also from a security standpoint, folks like to know which uids/gids are valid. e.g. "These are known to valid/required uid/gids" In reference to comment #2 Based on my partial openstack install, these appear to be auxiliary uid/gids. mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash qpidd:x:498:499:Owner of Qpidd Daemons:/var/lib/qpidd:/sbin/nologin memcached:x:497:496:Memcached daemon:/var/run/memcached:/sbin/nologin nagios:x:496:495::/var/spool/nagios:/sbin/nologin So just because they don't belong to a core daemon I'm not sure that we should exclude them from being pulled in based on the openstack installation. (In reply to Dave Sullivan from comment #6) > In reference to comment #2 > > Based on my partial openstack install, these appear to be auxiliary uid/gids. > > mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash > qpidd:x:498:499:Owner of Qpidd Daemons:/var/lib/qpidd:/sbin/nologin > memcached:x:497:496:Memcached daemon:/var/run/memcached:/sbin/nologin > nagios:x:496:495::/var/spool/nagios:/sbin/nologin > > So just because they don't belong to a core daemon I'm not sure that we > should exclude them from being pulled in based on the openstack installation. In comment # 2 I indicated that as mysql, qpidd, and memcached(?) are shipped in base-RHEL their UID/GID reservations should be documented in the platform documentation so that it can be referenced by all layered products that use them, not just OpenStack. I also specifically singled out the nagios reference as something we would have to carry downstream, not as something being excluded. Have sent off a request to Tom Fifield, to see whether we can put these in the Config Guide. Nermina was going to put this in (Aug.9), have emailed her to see where it ended up. Can't find it myself. Raised with explicit info: https://bugs.launchpad.net/openstack-manuals/+bug/1239879 Nermina will be putting in getstart.xml, included in both the admin and end user guides. Thx, good catch. Fixed. Waiting for package on test server to move to QE. looks good clearing needinfo |