Hi,
I just wanted to add hooks on a node and didn't succeed. The error message was:
Hook script execution failed: Hook script /etc/libvirt/hooks/qemu qemu failed
with error code 256:libvir: error : cannot execute binary
/etc/libvirt/hooks/qemu: Permission denied
After reading the whole relevant src/utils code without finding any reason for
this, I found out that it was apparmor's fault.
So maybe there's a profile for the hooks missing (at least in ubuntu's
packaging). And maybe there's room in the hook-docs for a hint about that.
Daniel