From: Nathan Cutler Date: Tue, 6 Oct 2015 13:07:41 +0000 (+0200) Subject: ceph.spec.in: remove comments regarding ceph UID/GID in SUSE X-Git-Tag: v9.1.0~26^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6171%2Fhead;p=ceph.git ceph.spec.in: remove comments regarding ceph UID/GID in SUSE 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index ba5111bdad50..721bb13af57e 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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 || :