summaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-23 15:38:06 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-23 15:39:40 +0200
commit93f8d97757dfe37d262a95148ac94f7a2c78a64e (patch)
treea4393db9b1f34b11be4ece05f7164bdd9ecba8f8 /patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch
parent2cc327653a8a294346e6d47b0c94e9486414608a (diff)
p/fuel: Rebase after authorized_keys fix upstream
Change-Id: Id53c2513b52d05a44dffda0fda40f8df259e226b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch')
-rw-r--r--patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch b/patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch
new file mode 100644
index 00000000..de3b16bd
--- /dev/null
+++ b/patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch
@@ -0,0 +1,50 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Sun, 20 Aug 2017 18:18:53 +0200
+Subject: [PATCH] libvirt: Use "libvirt" unix_sock_group
+
+On AArch64, libvirt 3.x is used, which uses "libvirt" by default,
+so change old "libvirtd" in <libvirt/files/libvirtd.conf.Debian>.
+
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+ ...libvirt-unix_sock_group-s-libvirtd-libvirt.patch | 21 +++++++++++++++++++++
+ mcp/patches/patches.list | 1 +
+ 2 files changed, 22 insertions(+)
+ create mode 100644 mcp/patches/0102-libvirt-unix_sock_group-s-libvirtd-libvirt.patch
+
+diff --git a/mcp/patches/0102-libvirt-unix_sock_group-s-libvirtd-libvirt.patch b/mcp/patches/0102-libvirt-unix_sock_group-s-libvirtd-libvirt.patch
+new file mode 100644
+index 0000000..003b249
+--- /dev/null
++++ b/mcp/patches/0102-libvirt-unix_sock_group-s-libvirtd-libvirt.patch
+@@ -0,0 +1,21 @@
++From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
++Date: Sun, 20 Aug 2017 02:03:01 +0200
++Subject: [PATCH] libvirt: unix_sock_group: s/libvirtd/libvirt/
++
++On AArch64, libvirt 3.x is used, which uses "libvirt" by default.
++
++Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
++---
++
++diff --git a/libvirt/files/libvirtd.conf.Debian b/libvirt/files/libvirtd.conf.Debian
++--- a/libvirt/files/libvirtd.conf.Debian
+++++ b/libvirt/files/libvirtd.conf.Debian
++@@ -81,7 +81,7 @@
++ # without becoming root.
++ #
++ # This is restricted to 'root' by default.
++-unix_sock_group = "libvirtd"
+++unix_sock_group = "libvirt"
++
++ # Set the UNIX socket permissions for the R/O socket. This is used
++ # for monitoring VM status only
+diff --git a/mcp/patches/patches.list b/mcp/patches/patches.list
+index c66ecb0..a42f513 100644
+--- a/mcp/patches/patches.list
++++ b/mcp/patches/patches.list
+@@ -6,3 +6,4 @@
+ /usr/share/salt-formulas/env: 0006-maas-module-Add-VLAN-DHCP-enable-support.patch
+ /usr/share/salt-formulas/env: 0007-linux.network.interface-noifupdown-support.patch
+ /usr/share/salt-formulas/env: 0101-maas-Add-curtin_userdata_arm64_generic_xenial.patch
++/usr/share/salt-formulas/env: 0102-libvirt-unix_sock_group-s-libvirtd-libvirt.patch