Re: brew services start libvirt failed to start libvirt on MacOS Sonoma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 17, 2024 at 11:13:26AM -0000, absiplant@xxxxxxxxx wrote:
> Hello, I am hoping someone can point me in the right direction regarding issues I have starting up libvirt services on MacOS Sonoma.
> I am running: 
> 
> macOS Sonoma 14.5
> llibvirt: stable 10.4.0 (bottled)
> qemu: stable 9.0.1 (bottled)
> 
> I have the following entries in libvirt.conf:
> listen_tls = 0
> listen_tcp = 1
> listen_addr = "0.0.0.0"
> unix_sock_group = "libvirt"
> unix_sock_ro_perms = "0777"
> unix_sock_rw_perms = "0770"
> unix_sock_admin_perms = "0700"
> unix_sock_dir = "/opt/homebrew/var/run/libvirt"
> auth_unix_ro = "none"
> auth_unix_rw = "none"
> auth_tls = "none"
> tls_no_sanity_certificate = 1
> tls_no_verify_certificate = 1
> log_filters="1:qemu 1:libvirt 4:object 4:json 2:event 1:util"
> log_outputs="1:file:/opt/homebrew/var/log/libvirt/libvirtd.log"
> 
> I added ```firewalld = 0``` and ```irewall_backend = "none"```. These made no difference, I have since removed both.
> Snippets of the log in debug mode indicate a usable firewall backend cannot be found, is there a way to resolve this on macOS?
> 
>  8617315328: debug : virSystemdNotifyStartup:648 : Skipping systemd notify, not requested
>  6105182208: debug : virThreadJobSet:97 : Thread 6105182208 is now running job daemon-init
>  6105182208: warning : virProcessGetStartTime:1205 : Process start time of pid 10814 not available on this platform
>  6105182208: debug : virGDBusIsServiceEnabled:386 : Service org.freedesktop.login1 is unavailable
>  6105182208: debug : virStateInitialize:663 : Running global init for Remote state driver
>  6105182208: debug : virStateInitialize:670 : State init result 1 (mandatory=0)
>  6105182208: debug : virStateInitialize:663 : Running global init for bridge state driver
>  6105182208: error : virNetworkLoadDriverConfig:147 : internal error: could not find a usable firewall backend
>  6105182208: debug : virStateInitialize:670 : State init result -1 (mandatory=0)
>  6105182208: error : virStateInitialize:674 : Initialisation of bridge state driver failed: internal error: could not find a usable firewall backend
>  6105182208: error : daemonRunStateInit:617 : Driver state initialisation failed
>  6105182208: debug : virThreadJobClear:122 : Thread 6105182208 finished job daemon-init with ret=0

This is a regression in the latest release we're working on fixing.

https://lists.libvirt.org/archives/list/devel@xxxxxxxxxxxxxxxxx/thread/GH3AF4ZF5XSAMELHCFFTXTC3LNYIU4EA/

Impact is basically all non-linux platforms using the network driver.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux