Comment 1 for bug 1394279

Revision history for this message
Darren Worrall (dazworrall) wrote :

I was able to fix this myself by changing secure_path in the sudoers file:, eg:

Defaults:neutron !requiretty
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openstack/venv/neutron/bin"

neutron ALL = (root) NOPASSWD: /opt/openstack/venv/neutron/bin/neutron-rootwrap /etc/neutron/rootwrap.conf *

I will still surprised that exec_dirs wasnt checked though, so I'll leave the bug open even if this is more of a documentation thing.