Comment 0 for bug 619246

Revision history for this message
Christophe GUILLOUX (ubuntu-rootix) wrote :

Binary package hint: sysvinit

puppet tool uses invoke-rc.d to determine if a service is launched at boot time. But at boot time, a variable RUNLEVEL is setup and invoke-rc.d doesn't work after that :
We can test :
RUNLEVEL=2 bash -x /usr/sbin/invoke-rc.d --quiet --query ssh start
-> we can see an exit 105
but :
bash -x /usr/sbin/invoke-rc.d --quiet --query ssh start
-> we can see an exit 104 (the good answer)

With debian lenny :
RUNLEVEL=2 bash -x /usr/sbin/invoke-rc.d --quiet --query ssh start
-> we can see an exit 104