[openstack-nova] Don't require the fuse group (#770927)
Pádraig Brady
pbrady at fedoraproject.org
Fri Dec 30 12:35:44 UTC 2011
commit 751875fde056fbf01a547cb9007ed69e55dae31a
Author: Pádraig Brady <P at draigBrady.com>
Date: Fri Dec 30 11:37:11 2011 +0000
Don't require the fuse group (#770927)
This group is no longer present in Fedora
openstack-nova.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/openstack-nova.spec b/openstack-nova.spec
index 9a38b3e..4d80b0c 100644
--- a/openstack-nova.spec
+++ b/openstack-nova.spec
@@ -2,7 +2,7 @@
Name: openstack-nova
Version: 2011.3
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: OpenStack Compute (nova)
Group: Applications/System
@@ -361,8 +361,10 @@ rm -f %{buildroot}/usr/share/doc/nova/README*
%pre
getent group nova >/dev/null || groupadd -r nova --gid 162
if ! getent passwd nova >/dev/null; then
- useradd -u 162 -r -g nova -G nova,nobody,qemu,fuse -d %{_sharedstatedir}/nova -s /sbin/nologin -c "OpenStack Nova Daemons" nova
-else
+ useradd -u 162 -r -g nova -G nova,nobody,qemu -d %{_sharedstatedir}/nova -s /sbin/nologin -c "OpenStack Nova Daemons" nova
+fi
+# Add nova to the fuse group (if present) to support guestmount
+if getent group fuse; then
usermod -a -G fuse nova
fi
exit 0
@@ -446,6 +448,9 @@ fi
%endif
%changelog
+* Fri Dec 30 2011 Pádraig Brady <P at draigBrady.com> - 2011.3-14
+- Don't require the fuse group (#770927)
+
* Tue Dec 14 2011 Pádraig Brady <P at draigBrady.com> - 2011.3-13
- Sanitize EC2 manifests and image tarballs (#767236, CVE 2011-4596)
- update libguestfs support
More information about the scm-commits
mailing list