The libvirt hook scripts are located in the directory $SYSCONFDIR/libvirt/hooks/. This defaults to /usr/local/etc/, but should be changed to /etc/ As a workaround you can set /usr/local/etc to be a symlink to /etc. Reproducible: Always Steps to Reproduce: 1. put a hook script in /etc/libvirt/hooks/ 2. put different hook script in /usr/local/etc/libvirt/hooks/ Actual Results: hook script (1) is ignored hook script (2) is used Expected Results: reversed: (1) should be used and (2) ignored
SYSCONFDIR is also used in SYSCONFDIR/libvirt/libvirtd.conf, which I can confirm is taking effect. I can also confirm in the ebuild, via econf that we're setting that to "/etc", can you confirm you haven't hand compiled anything?
(In reply to comment #1) I can confirm that the bug is no longer present, after I recompiled the package yesterday. May have been a remaining issue from me accidentially using the not-production-ready version of the ebuild previously. Sorry for the noise.