Description of problem: virtproxyd related sockets can not be started Version-Release number of selected component (if applicable): libvirt-7.0.0-1.module+el8.4.0+9464+3e71831a.x86_64 systemd-239-43.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1. get the status of virtproxyd.socket # rpm -q systemd systemd-239-43.el8.x86_64 [root@dell-per740xd-17 ~]# systemctl status virtproxyd.socket ● virtproxyd.socket - Libvirt proxy local socket Loaded: error (Reason: Unit virtproxyd.socket failed to loaded properly: Invalid argument.) Active: inactive (dead) Jan 17 21:47:20 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 17 22:18:06 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 03:11:24 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 03:12:05 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 03:12:05 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 03:12:05 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 03:12:05 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 03:12:05 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 03:18:43 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. Jan 18 04:13:44 dell-per740xd-17.lab.eng.pek2.redhat.com systemd[1]: /usr/lib/systemd/system/virtproxyd.socket:4: Missing '='. 2. check the socket file # cat /usr/lib/systemd/system/virtproxyd.socket [Unit] Description=Libvirt proxy local socket Before=virtproxyd.service libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tcp.socket libvirtd-tls.socket (without "Conflicts=" here) [Socket] # The directory must match the /etc/libvirt/virtproxyd.conf unix_sock_dir setting # when using systemd version < 227 ListenStream=/run/libvirt/libvirt-sock Service=virtproxyd.service SocketMode=0666 [Install] WantedBy=sockets.target 3. try to start socket # systemctl start virtproxyd.socket Failed to start virtproxyd.socket: Unit virtproxyd.socket failed to loaded properly: Invalid argument. See system logs and 'systemctl status virtproxyd.socket' for details. Additional info: info A: # rpm -q libvirt libvirt-6.6.0-11.module+el8.3.1+9196+74a80ca4.x86_64 # cat /usr/lib/systemd/system/virtproxyd.socket [Unit] Description=Libvirt proxy local socket Before=virtproxyd.service ***Conflicts=****libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tcp.socket libvirtd-tls.socket info B: The same issues also happened for virtproxyd{-tls,-tcp,-ro,-admin}.socket
Question: This feature is not yet supported on RHEL and deactivated per default. This might also the reason why there's no manpage for the virtproxyd on RHEL. I hope nobody minds if I set this Severity low. Reproduced with libvirt-daemon-7.0.0-2.module+el8.4.0+9520+ef609c5f.s390x As mentioned in description, the socket files look messy, e.g. [Unit] Description=Libvirt proxy admin socket Before=virtproxyd.service BindsTo=virtproxyd.socket After=virtproxyd.socket libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tcp.socket libvirtd-tls.socket [Socket] # The directory must match the /etc/libvirt/virtproxyd.conf unix_sock_dir setting # when using systemd version < 227 ListenStream=/run/libvirt/libvirt-admin-sock Service=virtproxyd.service SocketMode=0600 [Install] WantedBy=sockets.target
Already fixed in upstream: e3d60f761c build: Fix generation of virtproxyd socket files
Verified ============================================== environment: Compiled against library: libvirt 7.4.0 Using library: libvirt 7.4.0 Using API: QEMU 7.4.0 Running hypervisor: QEMU 5.2.0 # systemctl start virtproxyd.socket # systemctl status virtproxyd.socket ● virtproxyd.socket - Libvirt proxy local socket Loaded: loaded (/usr/lib/systemd/system/virtproxyd.socket; disabled; vendor preset: disabled) Active: active (listening) since Tue 2021-06-08 03:58:15 EDT; 4s ago Listen: /run/libvirt/libvirt-sock (Stream) CGroup: /system.slice/virtproxyd.socket
*** Bug 1983857 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (virt:av bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4684