On 3/20/24 10:32 AM, Jerry James wrote:
On Wed, Mar 20, 2024 at 7:49 AM Robert McBroom via users users@lists.fedoraproject.org wrote:
Recently libvirtd.service is not starting on boot. I have to manually start it with systemctl start libvirtd.
Do I need to put that command in a startup script?
libvirtd.service is socket activated, so it should run automatically when needed. Does something not work if you don't start it manually?
virt- manager starts but says it cannot connect to anything. I have six virtual machines I use for various purposes.
systemctl status libvirtd
shows disabled and dead. After starting it manually all machines are present.
Status then shows
systemctl status libvirtd ●libvirtd.service - libvirt legacy monolithic daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: active (running)since Thu 2024-03-21 09:56:36 EDT; 5h 13min ago TriggeredBy: ●libvirtd-ro.socket ●libvirtd-admin.socket ●libvirtd.socket Docs: man:libvirtd(8) https://libvirt.org/ Main PID: 10039 (libvirtd) Tasks: 21 (limit: 32768) Memory: 40.6M (peak: 92.4M) CPU: 25.975s CGroup: /system.slice/libvirtd.service └─10039 /usr/sbin/libvirtd --timeout 120
Mar 21 09:56:38 HPZ440.attlocal.net libvirtd[10039]: internal error: Failed to start QEMU binary /usr/bin/qemu-> Mar 21 09:56:38 HPZ440.attlocal.net libvirtd[10039]: Failed to probe capabilities for /usr/bin/qemu-system-xten> Mar 21 09:56:50 HPZ440.attlocal.net libvirtd[10039]: operation failed: Multiple USB devices for 781:5581, use <> Mar 21 09:56:50 HPZ440.attlocal.net libvirtd[10039]: Unable to find device 000.000 in list of active USB devices Mar 21 09:57:54 HPZ440.attlocal.net libvirtd[10306]: 2024-03-21 13:57:54.273+0000: 10306: info : libvirt versio> Mar 21 09:57:54 HPZ440.attlocal.net libvirtd[10306]: 2024-03-21 13:57:54.273+0000: 10306: info : hostname: HPZ4> Mar 21 09:57:54 HPZ440.attlocal.net libvirtd[10306]: 2024-03-21 13:57:54.273+0000: 10306: warning : virSecurity> Mar 21 09:57:54 HPZ440.attlocal.net libvirtd[10307]: 2024-03-21 13:57:54.275+0000: 10307: info : libvirt versio> Mar 21 09:57:54 HPZ440.attlocal.net libvirtd[10307]: 2024-03-21 13:57:54.275+0000: 10307: info : hostname: HPZ4> Mar 21 09:57:54 HPZ440.attlocal.net libvirtd[10307]: 2024-03-21 13:57:54.275+0000: 10307: warning : virSecurity>
Thought
systemctl enable libvirtd
would change the preset notation but it didn't