]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/libvirt/0002-Change-options-in-libvirtd.conf-for-IPFire.patch
libvirt: Update to 4.6.0
[people/pmueller/ipfire-2.x.git] / src / patches / libvirt / 0002-Change-options-in-libvirtd.conf-for-IPFire.patch
CommitLineData
77d989a6
JS
1From 69d6e8ce6c636f78d1db0eebe7fb1cc02ae4fb9a Mon Sep 17 00:00:00 2001
2From: Jonatan Schlag <jonatan.schlag@ipfire.org>
3Date: Mon, 6 Jun 2016 19:40:50 +0200
4Subject: [PATCH 2/2] Change options in libvirtd.conf for IPFire
5
6Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
77d989a6 7
edacf853
MT
8--- a/src/remote/libvirtd.conf~ 2018-10-24 09:12:31.045030419 +0100
9+++ b/src/remote/libvirtd.conf 2018-10-24 09:12:33.443109098 +0100
10@@ -82,14 +82,14 @@
77d989a6
JS
11 # without becoming root.
12 #
13 # This is restricted to 'root' by default.
14-#unix_sock_group = "libvirt"
15+unix_sock_group = "libvirt-remote"
16
17 # Set the UNIX socket permissions for the R/O socket. This is used
18 # for monitoring VM status only
19 #
20 # Default allows any user. If setting group ownership, you may want to
21 # restrict this too.
22-#unix_sock_ro_perms = "0777"
23+unix_sock_ro_perms = "0770"
24
25 # Set the UNIX socket permissions for the R/W socket. This is used
26 # for full management of VMs
edacf853 27@@ -99,7 +99,7 @@
77d989a6
JS
28 #
29 # If not using PolicyKit and setting group ownership for access
30 # control, then you may want to relax this too.
31-#unix_sock_rw_perms = "0770"
32+unix_sock_rw_perms = "0770"
33
34 # Set the UNIX socket permissions for the admin interface socket.
35 #