mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
db8e4d5bdd298d4ccd4ea805c83cefb0b9b5d1c3
libvirt 12.1.0 introduces virt-secret-init-encryption.service which generates
a host-specific key used to encrypt libvirt secrets. The service writes
the key to /var/lib/libvirt/secrets/secrets-encryption-key.
Since in the ebuild we are doing rm -fr ${D}/var during src_install and
relying on tmpfiles to recreate required directories an entry in the
tmpfiles is needed with correct permission for the creation of the
secrets folder.
Please note that this only affects systemd based systems as the
virt-secret-init-encryption.service is never used in OpenRC. On systemd
without the secrets folder, virt-secret-init-encryption.service fails
wich inturn blocks libvirtd.service from starting.
Closes: https://bugs.gentoo.org/970956
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/231
Merges: https://codeberg.org/gentoo/gentoo/pulls/231
Signed-off-by: Sam James <sam@gentoo.org>
…
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.3%
Emacs Lisp
0.2%
C
0.1%