From 1045291594f2f0ec1742971a572efa355f410716 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 6 Oct 2015 15:07:41 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index ba5111bdad503..721bb13af57ea 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 || : -- 2.39.5