following error occures on new libvirt installation with core 125, and core 124 isnt working too, if libvirt/qemu-packages has been freshly installed: 2018-11-26 17:37:41.084+0000: 2748: error : virJSONJanssonOnceInit:66 : this function is not supported by the connection driver: libjansson.so.4 JSON library not available: libjansson.so.4: cannot open shared object file: No such file or directory /var/log/libvirt/libvirtd.log (END) following appears during boot: Starting virtlogd Daemon... [ OK ] Load required kernel modules for Libvirt [ OK ] Starting Libvirt Daemon... [ FAIL ] but no other logs can be found.
Did you try to install the jansson package? Does the daemon start then?
(In reply to Michael Tremer from comment #1) > Did you try to install the jansson package? Does the daemon start then? Dear Michael Indeed I didnt know to install this package. Now I did. libvirtd is running :) But I got problems to setup a VM. I got access to the pool and am able to deploy a disk. But when I want to finish the wizard, it tells me: internal error: process exited while connecting to monitor: date qemu-system-x86_64 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny:seccomp support is disabled Also I changed /var/ipfire/ethernet/settings to GREEN_MODE=bridge but the Host-devices are marked as "macvtap" in Virtual Machine Manager --> I dont think this is right because I got the same issue on Core124 with libvirtd 4.0 --> when I change ZONE_Mode=bridge, I cannot set the device to "greenphys0 (bridge 'green0') as I did in advance on earlier kernels? I'm sorry for my lost in libvirtd
(In reply to Michael Tremer from comment #1) > Did you try to install the jansson package? Does the daemon start then? I'm so sorry, I did a typo in the config file of the ethernet settings. now network is corrected, but I got the same error message while trying to add a new VM with virt manager
solved!!! I added this to qemu.conf cat /etc/libvirt/qemu.conf seccomp_sandbox = 0 after that, i restarted with /etc/init.d/libvirtd restart --> successfully deployed a VM and got network. will test now
(In reply to geh kah from comment #4) > solved!!! > > I added this to qemu.conf > > cat /etc/libvirt/qemu.conf > seccomp_sandbox = 0 > > after that, i restarted with /etc/init.d/libvirtd restart --> successfully > deployed a VM and got network. will test now Thanks for reporting back. Because this is a separate issue, I created a new ticket #11941. This is fixed now in https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=612424542710ab75cbfb4187d98295a7cbaec719
I confirm the bug and I solved like described above. First installed the jansson paket via pakfire and then added seccomp_sandbox = 0 to /etc/libvirt/qemu.conf - Daniel
(In reply to Daniel Weismüller from comment #6) > I confirm the bug and I solved like described above. > First installed the jansson paket via pakfire and then added > > seccomp_sandbox = 0 > > to /etc/libvirt/qemu.conf > > - > Daniel I forgot to confirm: yes, this way works since 24hours without a problem. I just dont know how bad it is on security?
A new version is shipped.
Thank you Michael As you already know, the fix is working, I confirm. Thank you very much for all your efforts, very much appreciated.