On Tue, Jun 17, 2014 at 09:40:08AM +0800, John Xue wrote:
Yes, it is possible an agent bug.
#cat /etc/sudoers.d/50_ovirt-guest-agent
Cmnd_Alias OVIRTAGENT_SCRIPTS =\
/usr/share/ovirt-guest-agent/ovirt-hibernate-wrapper.sh *,\
/usr/share/ovirt-guest-agent/ovirt-shutdown-wrappers.h *,\
/usr/share/ovirt-guest-agent/ovirt-locksession-wrapper.sh
ovirtagent ALL= NOPASSWD: OVIRTAGENT_SCRIPTS
Defaults:ovirtagent !requiretty
Defaults:ovirtagent !syslog
Wrong file name in
/usr/share/ovirt-guest-agent/ovirt-shutdown-wrappers.h, should be
"sh".
Thanks, seems like an easy fix. Could you verify that
http://gerrit.ovirt.org/28842 solves the issue?