SHA256
1
0
forked from pool/libvirt
libvirt/libvirtd-systemd-socket.patch
James Fehlig fe8f4e8203 Accepting request 354651 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.3.1
  - CVE-2015-5313
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches: 034e47c3-CVE-2015-5313.patch,
    ace1ee22-qemuxml2argv-test.patch, add-with-login-shell.patch,
    virt-aa-helper-rw-mounts.patch

OBS-URL: https://build.opensuse.org/request/show/354651
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=508
2016-01-18 19:32:30 +00:00

29 lines
1.1 KiB
Diff

Remove unsupported systemd.socket settings
The libvirtd.socket unit file contains SocketUser and SocketGroup
settings that were introduced in systemd version 214. Remove the
setting to prevent unnecessary and confusing journal entries such
as
Unknown lvalue 'SocketGroup' in section 'Socket'
See bsc#933043
Index: libvirt-1.3.1/daemon/libvirtd.socket.in
===================================================================
--- libvirt-1.3.1.orig/daemon/libvirtd.socket.in
+++ libvirt-1.3.1/daemon/libvirtd.socket.in
@@ -2,10 +2,8 @@
ListenStream=@runstatedir@/libvirt/libvirt-sock
ListenStream=@runstatedir@/libvirt/libvirt-sock-ro
-; The following settings must match libvirtd.conf file in order to
-; work as expected because libvirtd can't change them later.
+; The following setting must match libvirtd.conf file in order to
+; work as expected because libvirtd can't change it later.
; SocketMode=0777 is safe only if authentication on the socket is set
; up. For further information, please see the libvirtd.conf file.
SocketMode=0777
-SocketUser=root
-SocketGroup=root