From: Daniel P. Berrangé Date: Mon, 4 Jan 2021 18:03:55 +0000 (+0000) Subject: rpm: fix ownership of the swtpm log directory X-Git-Tag: v7.0.0-rc1~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6472403c201fdfb3470a0296d7c68b749dc5e1d6;p=thirdparty%2Flibvirt.git rpm: fix ownership of the swtpm log directory As soon as a guest using a device is launched, libvirt will change the ownership to 'tss' user and group, with mode 0730, which will cause RPM verify to then fail. Reviewed-by: Laine Stump Signed-off-by: Daniel P. Berrangé --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 2e026b0423..ce1a8d7078 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1747,7 +1747,7 @@ exit 0 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug %{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/swtpm/ -%dir %attr(0711, root, root) %{_localstatedir}/log/swtpm/libvirt/qemu/ +%dir %attr(0730, tss, tss) %{_localstatedir}/log/swtpm/libvirt/qemu/ %{_bindir}/virt-qemu-run %{_mandir}/man1/virt-qemu-run.1* %endif