diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index f8840b5..6281600 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -67,7 +67,7 @@ source=("https://libvirt.org/sources/$pkgname-$pkgver.tar.xz" #{,.asc} sha256sums=('89fc63213291d329d537ea96e363fd609160da080322973bd1126d431ff63424' '9d0597bbf2bd7892420cebaf0563236fe1483b83ae95ee6263c1ce7f44a44134' '0896c30100e9e40aee1eb4a2cf0cac2c0bdd5fd7b077b9d2680d90e77435ea66' - '5c26353833944db8dc97aa63843734519d6521bd8d88497d94d910ee9d3169d8') + '29897854fd6a2ecad8203874f43332f8e4acb468f98e6dd8b64fc2d70fc5598b') prepare() { cd "$srcdir/$pkgname-$pkgver" @@ -82,8 +82,7 @@ prepare() { tools/{libvirt-guests.service,libvirt-guests.sh,virt-pki-validate}.in \ src/locking/virtlockd.service.in sed -i 's|@sbindir@|/usr/bin|g' src/locking/virtlockd.service.in - # 78 is kvm group: https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database - sed -i 's|#group =.*|group="78"|' src/qemu/qemu.conf + sed -i 's|#group =.*|group="kvm"|' src/qemu/qemu.conf sed -i 's|/usr/libexec/qemu-bridge-helper|/usr/lib/qemu/qemu-bridge-helper|g' \ src/qemu/qemu{.conf,_conf.c} \ src/qemu/test_libvirtd_qemu.aug.in @@ -118,14 +117,12 @@ package() { install -D -m644 "$srcdir"/libvirtd-guests.conf.d "$pkgdir"/etc/conf.d/libvirt-guests install -D -m644 "$srcdir"/libvirt.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/libvirt.conf - chown -R 0:78 "$pkgdir"/var/lib/libvirt/qemu - chmod 0770 "$pkgdir"/var/lib/libvirt/qemu - chown 0:102 "$pkgdir"/usr/share/polkit-1/rules.d chmod 0750 "$pkgdir"/usr/share/polkit-1/rules.d rm -rf \ "$pkgdir"/var/run \ + "$pkgdir"/var/lib/libvirt/qemu \ "$pkgdir"/etc/sysconfig \ "$pkgdir"/etc/rc.d diff --git a/trunk/libvirt.tmpfiles.d b/trunk/libvirt.tmpfiles.d index 2804c43..c7227ff 100644 --- a/trunk/libvirt.tmpfiles.d +++ b/trunk/libvirt.tmpfiles.d @@ -2,3 +2,4 @@ d /run/libvirt/qemu 0755 root root - d /run/libvirt/lxc 0755 root root - d /run/libvirt/uml 0755 root root - d /run/libvirt/network 0755 root root - +d /var/lib/libvirt/qemu 0770 root kvm -