SHA256
1
0
forked from pool/libvirt
libvirt/libvirtd-systemd-socket.patch
James Fehlig 57e1254dfd Accepting request 314914 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.17
  - parallels driver renamed to vz (Virtuozzo)
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
- spec: re-enable tests that have received upstream fixes and
  are now passing

OBS-URL: https://build.opensuse.org/request/show/314914
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=468
2015-07-02 22:10:14 +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.2.17/daemon/libvirtd.socket.in
===================================================================
--- libvirt-1.2.17.orig/daemon/libvirtd.socket.in
+++ libvirt-1.2.17/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