How to start libvirtd with --listen option in 16.04

I can't get libvirtd to start with -l (listen) option in 16.04 Changes to /etc/libvirt/libvirtd.conf and /etc/init/libvirt-bin.conf seem to have no effect. And changes to /etc/default/libvirt-bin cause libvirtd to fail to start.

Thanks.

1

1 Answer

Self solution:

Edit /etc/libvirt/libvirtd.conf to add/change:

listen_tls = 0
listen_tcp = 1
auth_tcp = "none"

Then edit /etc/default/libvirtd to add:

libvirtd_opts="-l"

Then:

sudo service libvirt-bin restart

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like