From: Thomas Goirand Date: Wed, 13 Nov 2013 16:48:29 +0000 (+0800) Subject: Fixed ${LIBVIRT_GROUP} instead of just libvirt in postinst to have it work as well... X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=95b29a23a847d58172e427edd3a0892d754b9f9c;p=openstack-build%2Fceilometer-build.git Fixed ${LIBVIRT_GROUP} instead of just libvirt in postinst to have it work as well on Ubuntu. Change-Id: I59f6bd931c552826bf00dcc7bcfc90a01b5be17c Rewritten-From: 96f154e00786c3ee82cad379e0204b93c46d51a6 --- diff --git a/xenial/debian/ceilometer-common.postinst.in b/xenial/debian/ceilometer-common.postinst.in index 8b26aa0..5a8ecfd 100644 --- a/xenial/debian/ceilometer-common.postinst.in +++ b/xenial/debian/ceilometer-common.postinst.in @@ -12,7 +12,7 @@ libvirt_user_group () { LIBVIRT_GROUP=libvirt fi - if ! getent group libvirt >/dev/null; then + if ! getent group ${LIBVIRT_GROUP} >/dev/null; then addgroup --system ${LIBVIRT_GROUP} fi diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 15d1646..9e80857 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,6 +1,8 @@ ceilometer (2013.2-2) UNRELEASED; urgency=low * Added configuration of the keystone_authtoken through Debconf. + * Fixed ${LIBVIRT_GROUP} instead of just libvirt in postinst to have it work + as well on Ubuntu. -- Thomas Goirand Mon, 28 Oct 2013 22:34:50 +0800