meta-virtualization/recipes-extended/libvirt
Wang Mingyu 8138d9cc7e libvirt: fix do_rootfs error
When do_rootfs, the following error occured:
WARNING: do_rootfs: Group kvm has been defined with id (47) but sysusers.d expects gid (36)
WARNING: do_rootfs: Group qemu has been defined with id (975) but sysusers.d expects gid (107)
ERROR: do_rootfs: Error executing a python function in exec_func_python() autogenerated:

Create an empty file libvirt-qemu.conf to solve the issue of gid mismatch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-09-11 18:20:33 +00:00
..
libvirt libvirt: fix do_rootfs error 2024-09-11 18:20:33 +00:00
libvirt-glib libvirt-glib: fix introspection and documentation build 2023-09-04 03:03:14 +00:00
libvirt_git.bb libvirt: fix do_rootfs error 2024-09-11 18:20:33 +00:00
libvirt-dbus_1.4.1.bb libvirt: add libvirt-dbus 2024-04-09 13:40:25 +00:00
libvirt-glib_5.0.0.bb libvirt-glib: update 4.0.0 -> 5.0.0 2024-03-15 17:17:20 +00:00
libvirt-python.inc libvirt: update to v10.5.0 and convert to git 2024-07-10 15:59:26 +00:00
README libvirt: libvirtd: Facilitate using tls connection mode 2019-07-16 19:41:05 +00:00

libvirt default connection mode between client(where for example virsh runs) and server(where libvirtd runs) is tls which requires keys and certificates for certificate authority, client and server to be properly generated and deployed. Otherwise, servers and clients cannot be connected.

recipes-extended/libvirt/libvirt/gnutls-help.py is provided to help generate required keys and certificates.

Usage: gnutls-help.py [-a|--ca-info] <ca.info> [-b|--server-info] <server.info> [-c|--client-info] <client.info> If ca.info or server.info or client.info is not provided, a corresponding sample file will be generated.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! "ip_address" field of server.info must be IP address of the server. !! !! For more details, please refer to: !! !! https://libvirt.org/remote.html#Remote_certificates !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Please deploy cacert.pem to CA and server and client /etc/pki/CA/cacert.pem Please deploy serverkey.pem to server /etc/pki/libvirt/private/serverkey.pem Please deploy servercert.pem to server /etc/pki/libvirt/servercert.pem Please deploy clientkey.pem to client /etc/pki/libvirt/private/clientkey.pem Please deploy clientcert.pem to client /etc/pki/libvirt/clientcert.pem"

For more details please refer to libvirt official document, https://libvirt.org/remote.html#Remote_certificates