[openstack-glance/f16] Use statically assigned uid:gid 161:161 (#732687)
Mark McLoughlin
markmc at fedoraproject.org
Wed Aug 24 07:29:59 UTC 2011
commit 40a2316766cf64f37f10398c849327e57d31d56a
Author: Mark McLoughlin <markmc at redhat.com>
Date: Wed Aug 24 08:16:27 2011 +0100
Use statically assigned uid:gid 161:161 (#732687)
openstack-glance.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/openstack-glance.spec b/openstack-glance.spec
index ed05ee2..a617e56 100644
--- a/openstack-glance.spec
+++ b/openstack-glance.spec
@@ -3,7 +3,7 @@
Name: openstack-glance
Version: 2011.3
-Release: 0.3.%{bzrtag}bzr%{?dist}
+Release: 0.4.%{bzrtag}bzr%{?dist}
Summary: OpenStack Image Service
Group: Applications/System
@@ -125,9 +125,9 @@ install -d -m 755 %{buildroot}%{_localstatedir}/run/glance
install -d -m 755 %{buildroot}%{_localstatedir}/log/glance
%pre
-getent group glance >/dev/null || groupadd -r glance
+getent group glance >/dev/null || groupadd -r glance -g 161
getent passwd glance >/dev/null || \
-useradd -r -g glance -d %{_sharedstatedir}/glance -s /sbin/nologin \
+useradd -u 161 -r -g glance -d %{_sharedstatedir}/glance -s /sbin/nologin \
-c "OpenStack Glance Daemons" glance
exit 0
@@ -173,6 +173,9 @@ fi
%doc doc/build/html
%changelog
+* Wed Aug 24 2011 Mark McLoughlin <markmc at redhat.com> - 2011.3-0.4.987bzr
+- Use statically assigned uid:gid 161:161 (#732687)
+
* Mon Aug 22 2011 Mark McLoughlin <markmc at redhat.com> - 2011.3-0.3.987bzr
- Re-instate python2-devel BR (#731966)
More information about the scm-commits
mailing list