]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: remove comments regarding ceph UID/GID in SUSE 6171/head
authorNathan Cutler <ncutler@suse.com>
Tue, 6 Oct 2015 13:07:41 +0000 (15:07 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 6 Oct 2015 13:18:53 +0000 (15:18 +0200)
It is possible that the ceph user/group will not have fixed UID/GID in SUSE.
Instead, it is possible that the ceph package will depend on a separate package
whose sole purpose will be to create the ceph user/group if they do not exist.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index ba5111bdad503357a50299ef59f067d5dbcca817..721bb13af57ea72b69816a521b01c1d0d5828c8c 100644 (file)
@@ -903,15 +903,10 @@ rm -rf $RPM_BUILD_ROOT
 %pre -n ceph-common
 CEPH_GROUP_ID=""
 CEPH_USER_ID=""
-# disabled for now until we have the numbers
 %if 0%{?rhel} || 0%{?fedora}
 CEPH_GROUP_ID="-g 167"
 CEPH_USER_ID="-u 167"
 %endif
-# %if 0%{?suse_version}
-# CEPH_GROUP_ID="-g "
-# CEPH_USER_ID="-u "
-# %endif
 %if 0%{?rhel} || 0%{?fedora}
 %{_sbindir}/groupadd ceph $CEPH_GROUP_ID -o -r 2>/dev/null || :
 %{_sbindir}/useradd ceph $CEPH_USER_ID -o -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2> /dev/null || :