On 3/21/24 4:51 PM, Samuel Sieb wrote:
On 3/21/24 12:20, Robert McBroom via users wrote:
>
> On 3/20/24 10:32 AM, Jerry James wrote:
>> On Wed, Mar 20, 2024 at 7:49 AM Robert McBroom via users
>> <users(a)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)
>
> Thought
>
> systemctl enable libvirtd
>
> would change the preset notation but it didn't
It doesn't. That's the system preset. "enable" only changes the
first enabled/disable option, but that overrides the preset, so it
should be starting at boot if you've rebooted since changing that
setting.
You can use "journalctl -b -u libvirtd" to find out what has happened.
--
Saw no indication that any setting had changed.
Nothing from the journal tells anything that I understand
# journalctl -b -u libvirtd
Mar 21 09:31:17
HPZ440.attlocal.net systemd[1]: Starting
libvirtd.service - libvirt legacy monolithic daemon...
Mar 21 09:31:18
HPZ440.attlocal.net systemd[1]: Started libvirtd.service
- libvirt legacy monolithic daemon.
Mar 21 09:33:18
HPZ440.attlocal.net systemd[1]: libvirtd.service:
Deactivated successfully.
Mar 21 09:56:36
HPZ440.attlocal.net systemd[1]: Starting
libvirtd.service - libvirt legacy monolithic daemon...
Mar 21 09:56:36
HPZ440.attlocal.net systemd[1]: Started libvirtd.service
- libvirt legacy monolithic daemon.
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: libvirt version:
10.1.0, package: 1.fc40 (Fedora Project, 2024-03-01-18:35:13, )
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: hostname:
HPZ440.attlocal.net
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-alpha for probing:
/usr/bin/qemu-system-alpha: error while l>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-alpha: internal error: Failed to
start QEMU binary /usr/bin/qemu-system>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-arm for probing:
/usr/bin/qemu-system-arm: error while loadi>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-arm: internal error: Failed to
start QEMU binary /usr/bin/qemu-system-a>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-arm for probing:
/usr/bin/qemu-system-arm: error while loadi>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-arm: internal error: Failed to
start QEMU binary /usr/bin/qemu-system-a>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-aarch64 for probing:
/usr/bin/qemu-system-aarch64: error whi>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-aarch64: internal error: Failed to
start QEMU binary /usr/bin/qemu-syst>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-cris for probing:
/usr/bin/qemu-system-cris: error while loa>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-cris: internal error: Failed to
start QEMU binary /usr/bin/qemu-system->
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-lm32 for probing:
/usr/bin/qemu-system-lm32: error while loa>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-lm32: internal error: Failed to
start QEMU binary /usr/bin/qemu-system->
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-m68k for probing:
/usr/bin/qemu-system-m68k: error while loa>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-m68k: internal error: Failed to
start QEMU binary /usr/bin/qemu-system->
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-microblaze for probing:
/usr/bin/qemu-system-microblaze: err>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-microblaze: internal error: Failed
to start QEMU binary /usr/bin/qemu-s>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-microblazeel for
probing: /usr/bin/qemu-system-microblazeel:>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-microblazeel: internal error:
Failed to start QEMU binary /usr/bin/qemu>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-mips for probing:
/usr/bin/qemu-system-mips: error while loa>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-mips: internal error: Failed to
start QEMU binary /usr/bin/qemu-system->
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-mipsel for probing:
/usr/bin/qemu-system-mipsel: error while>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-mipsel: internal error: Failed to
start QEMU binary /usr/bin/qemu-syste>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-mips64 for probing:
/usr/bin/qemu-system-mips64: error while>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-mips64: internal error: Failed to
start QEMU binary /usr/bin/qemu-syste>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-mips64el for probing:
/usr/bin/qemu-system-mips64el: error w>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-mips64el: internal error: Failed
to start QEMU binary /usr/bin/qemu-sys>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-ppc for probing:
/usr/bin/qemu-system-ppc: error while loadi>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-ppc: internal error: Failed to
start QEMU binary /usr/bin/qemu-system-p>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-ppc64 for probing:
/usr/bin/qemu-system-ppc64: error while l>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-ppc64: internal error: Failed to
start QEMU binary /usr/bin/qemu-system>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-ppc64 for probing:
/usr/bin/qemu-system-ppc64: error while l>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-ppc64: internal error: Failed to
start QEMU binary /usr/bin/qemu-system>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: internal error:
Failed to start QEMU binary /usr/bin/qemu-system-riscv32 for probing:
/usr/bin/qemu-system-riscv32: error whi>
Mar 21 09:56:37
HPZ440.attlocal.net libvirtd[10039]: Failed to probe
capabilities for /usr/bin/qemu-system-riscv32: internal error: Failed to
start QEMU binary /usr/bin/qemu-syst>