[Bug 619246] [NEW] invoke-rc.d don't return same anwswer when the variable RUNLEVEL is setup at boot time

Launchpad Bug Tracker 619246 at bugs.launchpad.net
Tue May 24 12:14:18 UTC 2011


You have been subscribed to a public bug by James Troup (elmo):

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 try :
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

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
invoke-rc.d don't return same anwswer when the variable RUNLEVEL is setup at boot time
https://bugs.launchpad.net/bugs/619246
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list