Fixed ${LIBVIRT_GROUP} instead of just libvirt in postinst to have it work as well...
authorThomas Goirand <thomas@goirand.fr>
Wed, 13 Nov 2013 16:48:29 +0000 (00:48 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 13 Nov 2013 16:48:29 +0000 (00:48 +0800)
Change-Id: I59f6bd931c552826bf00dcc7bcfc90a01b5be17c

Rewritten-From: 96f154e00786c3ee82cad379e0204b93c46d51a6

xenial/debian/ceilometer-common.postinst.in
xenial/debian/changelog

index 8b26aa0aea6157c10a6fd2c3b6772703d9ea6990..5a8ecfde8d0d7d776434a3d30d0dc9548f7c5b6f 100644 (file)
@@ -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
 
index 15d16462b29fc9133528c636fd8d5e6cc5192fa2..9e8085769f39b45493f2ede9b5a970e3f27b1edf 100644 (file)
@@ -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 <zigo@debian.org>  Mon, 28 Oct 2013 22:34:50 +0800