Note to self after struggling for ages trying to install
<span class="s1">vagrant-libvirt plugin on a Mac…
Then more ratholes…
Try to start a
/usr/local/sbin/libvirtd which I had hoped would write a socket connection file to somewhere that I could use as the basis of a connection (?
/var/run/libvirt/libvirt-sock ) but that didn’t seem to work?:-(
/usr/local/sbin/libvirtd --help) suggests:
Configuration file (unless overridden by -f): $XDG_CONFIG_HOME/libvirt/libvirtd.conf Sockets: $XDG_RUNTIME_DIR/libvirt/libvirt-sock TLS: CA certificate: $HOME/.pki/libvirt/cacert.pem Server certificate: $HOME/.pki/libvirt/servercert.pem Server private key: $HOME/.pki/libvirt/serverkey.pem PID file: $XDG_RUNTIME_DIR/libvirt/libvirtd.pid
$XDG_RUNTIME_DIR/ doesn’t appear to be set and I can’t see anything in local dir… Setting it to
/var/run/ doesn’t seem to help? So I’m guessing I need a more complete way of starting
libvirtd such as passing a process definition/config file?