[openstack-swift] adding uid/gid for swift bz 732693
David Nalley
ke4qqq at fedoraproject.org
Tue Aug 23 12:58:25 UTC 2011
commit 6cabac0162a5f552f80065e79ba3855754f6d138
Author: David Nalley <david at gnsa.us>
Date: Tue Aug 23 08:57:16 2011 -0400
adding uid/gid for swift bz 732693
openstack-swift.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/openstack-swift.spec b/openstack-swift.spec
index b79bf96..d4473fe 100644
--- a/openstack-swift.spec
+++ b/openstack-swift.spec
@@ -4,7 +4,7 @@
Name: openstack-swift
Version: 1.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: OpenStack Object Storage (swift)
Group: Development/Languages
@@ -172,9 +172,9 @@ install -p -m 0644 %{SOURCE20} %{buildroot}%{_sysconfdir}/tmpfiles.d/openstack-s
rm -rf %{buildroot}
%pre
-getent group swift >/dev/null || groupadd -r swift
+getent group swift >/dev/null || groupadd -r swift -g 160
getent passwd swift >/dev/null || \
-useradd -r -g swift -d %{_sharedstatedir}/swift -s /sbin/nologin \
+useradd -r -g swift -u 160 -d %{_sharedstatedir}/swift -s /sbin/nologin \
-c "OpenStack Swift Daemons" swift
exit 0
@@ -329,6 +329,9 @@ fi
%doc LICENSE doc/build/html
%changelog
+* Tue Aug 23 2011 David Nalley <david at gnsa.us> - 1.4.0-2
+- adding uid:gid for bz 732693
+
* Sat Jun 04 2011 David Nalley <david at gnsa.us> - 1.4.0-1
- Update to 1.4.0
More information about the scm-commits
mailing list