| Summary: | app-emulation/libvirt-0.9.12 USE="-qemu" - pkg_postinst() runs fperms on non-existent directories | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jiří Moravec <qjim> |
| Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | virtualization |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report. The following lines are not depending on USE="qemu" in pkg_postinst(), and causing these error messages.
> # support for dropped privileges
> fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
> fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
It shouldn't have any ill effects beyond the error message, as the package is already installed and the directories are not used in qemu-free systems.
Thanks for reporting this. I've reworked the logic to fix this. |
Emerging app-emulation/libvirt-0.9.12 without USE="qemu" ended with: * ERROR: app-emulation/libvirt-0.9.12 failed (postinst phase): * fperms failed * * If you need support, post the output of `emerge --info '=app-emulation/libvirt-0.9.12'`, * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-0.9.12'`. * The complete build log is located at '/var/tmp/portage/app-emulation/libvirt-0.9.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libvirt-0.9.12/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/libvirt-0.9.12' * S: '/var/tmp/portage/app-emulation/libvirt-0.9.12/work/libvirt-0.9.12' This is because these 2 lines in ebuilds pkg_postinst(): fperms 0750 "${EROOT}/var/lib/libvirt/qemu" fperms 0750 "${EROOT}/var/cache/libvirt/qemu" These files/dirs are nonexistent on my system without qemu useflag. With USE="qemu" everything is alright.