Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Problem with virt-manager on dinit (Read 574 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Problem with virt-manager on dinit

Hi, I wanted to install QEMU on my system. I downloaded these packages:
Code: [Select]
qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat libguestfs libvirt-dinit
After that I opened the virt-manager and tried to connect to QEMU/KVM and I got an error (attachment error_msg.txt). I tried to look for a solution online, but found nothing that would make it work.

So far I observed that libvirtd service can't start for some reason and it tells me to check the log, that doesn't exist (attachments checklog.png and nologs.png) and that it depends on "early-modules.target". For some reason I can't start the early-modules.target and I don't know where are the logs for early.modules-target that dinitctl is talking about. I also attach screenshot of my dinitctl list to show you what's going on in there (attachment dinitctl.png). I also noticed that virtqemud-sock which virt-manager requires doesn't exist and I don't know what that file should contain.

I literally switched from systemd week and a half ago and I don't really know how to troubleshoot that. Reboot, reinstall, nothing worked.
I found post here (https://forum.artixlinux.org/index.php/topic,6909.0.html) with simmilar issue, but it didn't work for me.


*UPDATE*
After executing
Code: [Select]
sudo libvirtd --config /etc/libvirt/libvirtd.conf
where I changed what all guides said to change - everything seems to work - until reboot that is. After reboot I have to use that command again. No idea what to do next.

Re: Problem with virt-manager on dinit

Reply #1
Solution:
manually edited the /etc/dinit.d/libvirtd file by adding
Code: [Select]
--config /etc/libvirt/libvirtd.conf

to the command section and commenting out depends-on=early-modules.target