Re: [libvirt PATCH] util: add access check for hooks to fix running as non-root

2020-07-01 Thread Daniel Henrique Barboza
On 7/1/20 1:39 PM, Daniel P. Berrangé wrote: Since feb83c1e710b9ea8044a89346f4868d03b31b0f1 libvirtd will abort on startup if run as non-root 2020-07-01 16:30:30.738+: 1647444: error : virDirOpenInternal:2869 : cannot open directory '/etc/libvirt/hooks/daemon.d': Permission denied Th

[libvirt PATCH] util: add access check for hooks to fix running as non-root

2020-07-01 Thread Daniel P . Berrangé
Since feb83c1e710b9ea8044a89346f4868d03b31b0f1 libvirtd will abort on startup if run as non-root 2020-07-01 16:30:30.738+: 1647444: error : virDirOpenInternal:2869 : cannot open directory '/etc/libvirt/hooks/daemon.d': Permission denied The root cause flaw is that non-root libvirtd is usin