FS#68290 - [libvirt] libvirt_leaseshelper install location has changed
Attached to Project:
Community Packages
Opened by singe infini (singeinfini) - Friday, 16 October 2020, 23:18 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 16 October 2020, 23:28 GMT
Opened by singe infini (singeinfini) - Friday, 16 October 2020, 23:18 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 16 October 2020, 23:28 GMT
|
Details
Description:
The installation path for libvirt_leaseshelper was changed in version 6.8.0.1 Previously: $ bsdtar -tf /var/cache/pacman/pkg/libvirt-6.5.0-2-x86_64.pkg.tar.zst | grep lease usr/lib/libvirt/libvirt_leaseshelper Now: $ bsdtar -tf /var/cache/pacman/pkg/libvirt-6.8.0-1-x86_64.pkg.tar.zst | grep lease usr/lib/libvirt_leaseshelper But the AppArmor profile for dnsmasq (/etc/apparmor.d/usr.sbin.dnsmasq) refers to /usr/lib/libvirt/libvirt_leaseshelper. Consequently, the following error message may be observed at network startup: libvirtd[2473]: internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-scrip t=/usr/lib/libvirt_leaseshelper) unexpected exit status 3: sh: /usr/lib/libvirt_leaseshelper: Permission denied dnsmasq: cannot run lease-init script /usr/lib/libvirt _leaseshelper: Permission denied Here is a workaround: /etc/apparmor.d/usr.sbin.dnsmasq 89c89 < /usr/lib{,64}/libvirt/libvirt_leaseshelper Cx -> libvirt_leaseshelper, --- > /usr/lib{,64}/{libvirt/,}libvirt_leaseshelper Cx -> libvirt_leaseshelper, 117c117 < /usr/lib{,64}/libvirt/libvirt_leaseshelper m, --- > /usr/lib{,64}/{libvirt/,}libvirt_leaseshelper m, |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 16 October 2020, 23:28 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#68289
Don't do that
Friday, 16 October 2020, 23:28 GMT
Reason for closing: Duplicate
Additional comments about closing:
Don't do that