You are not logged in.

#1 2024-06-29 18:59:53

gnunn
Member
Registered: 2013-10-21
Posts: 99

Running libvirt and pi-hole on same server?

Is it possible to run pi-hole and libvirt on the same server? I'm trying it out and libvirt is refusing to do anything like create VMs, start virtual networks, etc since it wants to version check dnsmasq but the pi-hole symlink always returns exit code 1 indicating an error:

[root@infra-server ~]# /usr/bin/dnsmasq --version
[root@infra-server ~]# echo $?
1

Here is the error message from libvirtd:

Jun 29 10:55:04 infra-server libvirtd[1800]: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin USER=root /usr/bin/dnsmasq --version) unexpected exit status 1

I'm thinking about running pi-hole in a container to work around this but was curious if there was a better/easier way?

Last edited by gnunn (2024-06-29 19:02:36)

Offline

Board footer

Powered by FluxBB