I think the issue Edina reported is different from the original issue by Narayan and Kost.
If 'requiretty' is set in /etc/sudores and nova-network was executed from init script on boot time,
we'll see the message which Edina got:
"(nova.root): TRACE: Stderr: 'sudo: no tty present and no askpass program"
So, could you check your /etc/sudoers, Edina?
from man sudoers
requiretty If set, sudo will only run when the user is logged in to a real tty. When this flag is set, sudo can only be run from a login session and not via other means such as cron(8) or cgi-bin scripts. This flag is off by default.
Hi Edina, folks,
I think the issue Edina reported is different from the original issue by Narayan and Kost.
If 'requiretty' is set in /etc/sudores and nova-network was executed from init script on boot time,
we'll see the message which Edina got:
"(nova.root): TRACE: Stderr: 'sudo: no tty present and no askpass program"
So, could you check your /etc/sudoers, Edina?
from man sudoers
to a real tty. When this flag is set, sudo can only be
run from a login session and not via other means such
as cron(8) or cgi-bin scripts. This flag is off by
default.
requiretty If set, sudo will only run when the user is logged in