meta-virtualization/recipes-extended/libvirt
Guocai He a6f88557b0 libvirt: add groups of libvirt and virtlogin
The systemd_sysusers_check logs:
WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group libvirt has never been defined
WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group virtlogin has never been defined

This is because when libvirt is updated to v11.1.0, it involves:
2dd4f594ea tools: add sysusers file to create 'virtlogin' group
18f0160994 remote: add sysusers file to create 'libvirt' group

To eliminate this warning, it is necessary to add these two groups.

Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-05-19 22:52:50 -04:00
..
libvirt libvirt: update to v11.0.0 -tip 2025-01-17 19:17:09 +00:00
libvirt-glib
libvirt_git.bb libvirt: add groups of libvirt and virtlogin 2025-05-19 22:52:50 -04: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-python.inc metadata: add whitespace around assignments 2025-04-03 17:56:53 +00:00
README

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