Bug 1220846

Summary: new static uid/gid for ceph
Product: [Fedora] Fedora Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: branto, mbroz, ovasik, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1221042 1221043 (view as bug list) Environment:
Last Closed: 2015-05-13 07:56:24 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:    
Bug Blocks: 1217817, 1221042, 1221043    

Description Ken Dreyer (Red Hat) 2015-05-12 15:30:35 UTC
Please assign a static UID/GID for ceph (this was approved by the FPC at https://fedorahosted.org/fpc/ticket/524). The user and group names can simply be "ceph".

It would be ideal if we could have the same numeric UID on RHEL 5/6/7 as on Fedora.

Comment 1 Ondrej Vasik 2015-05-12 15:44:10 UTC
Thanks for the ticket and bz.
RHEL 5 is not possible, I can't make static reservation above 100 there and there are no free slots under 100. Should be safe to use static ID from RHEL6/7 there, though.

Any prefered homedir? (can be just / or /var/ceph ...)
What package will "own" that user creation?
I'll set /sbin/nologin as user shell, if there are no objections.

Once the information is provided, I'll assign some id to ceph in next Rawhide setup build.

Comment 2 Ken Dreyer (Red Hat) 2015-05-12 16:15:03 UTC
Thanks Ondřej, it's fine to skip RHEL 5. RHEL 6 and 7 will be great.

Preferred homedir: /var/lib/ceph
Package that will "own" the UID: "ceph"
No objections to /sbin/nologin.

Comment 3 Ken Dreyer (Red Hat) 2015-05-12 21:35:09 UTC
(In reply to Ken Dreyer (Red Hat) from comment #2)
> Package that will "own" the UID: "ceph"

Sage pointed out to me that the actual binary RPM is "ceph-common" (which comes from the "ceph" SRPM). Not sure what you want to put into https://git.fedorahosted.org/cgit/setup.git/tree/uidgid for that.

Comment 4 Ondrej Vasik 2015-05-13 07:56:24 UTC
ceph	167	167	/var/lib/ceph		/sbin/nologin	ceph-common

Entry added to https://git.fedorahosted.org/cgit/setup.git/tree/uidgid and built in Rawhide. 
I'm going to clone this into RHEL 6/7 - but feel free to start with using it there even if the bz is not yet resolved (it is just documentation and I expect to get this fixed in next minor RHEL update through fastrack). Built as setup-2.9.8-1.fc23 - closing Rawhide.