[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/0.9.0-1

Guido Günther agx at sigxcpu.org
Sat Apr 16 13:55:55 UTC 2011


The following commit has been merged in the master branch:
commit 85c3f78f2e968c31f496137b1c2757e554be41a5
Author: Guido Günther <agx at sigxcpu.org>
Date:   Wed Apr 6 12:06:41 2011 +0200

    Fix test failure caused by our libvirtd.conf changes

diff --git a/debian/patches/allow-libvirt-group-to-access-the-socket.patch b/debian/patches/allow-libvirt-group-to-access-the-socket.patch
index 250a6c6..1ddb420 100644
--- a/debian/patches/allow-libvirt-group-to-access-the-socket.patch
+++ b/debian/patches/allow-libvirt-group-to-access-the-socket.patch
@@ -4,7 +4,8 @@ Subject: allow libvirt group to access the socket
 
 ---
  daemon/libvirtd.conf |    8 ++++----
- 1 files changed, 4 insertions(+), 4 deletions(-)
+ tests/daemon-conf    |    7 ++++++-
+ 2 files changed, 10 insertions(+), 5 deletions(-)
 
 diff --git a/daemon/libvirtd.conf b/daemon/libvirtd.conf
 index 3a071b0..36dab4c 100644
@@ -46,4 +47,22 @@ index 3a071b0..36dab4c 100644
  
  # Change the authentication scheme for TCP sockets.
  #
+diff --git a/tests/daemon-conf b/tests/daemon-conf
+index f2b513d..6aa3269 100755
+--- a/tests/daemon-conf
++++ b/tests/daemon-conf
+@@ -19,7 +19,12 @@ grep '^#define WITH_QEMU 1' "$CONFIG_HEADER" > /dev/null ||
+ conf="$abs_top_srcdir/daemon/libvirtd.conf"
+ 
+ # Ensure that each commented out PARAMETER = VALUE line has the expected form.
+-grep -v '\"PARAMETER = VALUE\"' "$conf" | grep '[a-z_]  *=  *[^ ]' | grep -vE '^#[a-z_]+ = ' \
++grep -v -e '\"PARAMETER = VALUE\"' \
++     -e 'unix_sock_group = \"libvirt\"' \
++     -e 'unix_sock_rw_perms = \"0770\"' \
++     -e 'auth_unix_ro = \"none\"' \
++     -e 'auth_unix_rw = \"none\"' \
++  "$conf" | grep '[a-z_]  *=  *[^ ]' | grep -vE '^#[a-z_]+ = ' \
+   && { echo "$0: found unexpected lines (above) in $conf" 1>&2; exit 1; }
+ 
+ # Start with the sample libvirtd.conf file, uncommenting all real directives.
 -- 

-- 
Libvirt Debian packaging



More information about the Pkg-libvirt-commits mailing list