Bug 1220846 - new static uid/gid for ceph
Summary: new static uid/gid for ceph
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1217817 1221042 1221043
TreeView+ depends on / blocked
 
Reported: 2015-05-12 15:30 UTC by Ken Dreyer (Red Hat)
Modified: 2015-05-13 08:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1221042 1221043 (view as bug list)
Environment:
Last Closed: 2015-05-13 07:56:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.