Hi.

Sorry for the late answer.

Petter Reinholdtsen, 26.12.2007 21:03:
>> Trying to start any service via "invoke-rc.d start $service" fails
>> without any error or effect.
> 
> Try running it with set -x to see what the shell is doing.  Like this:
> 
>   sh -x /usr/sbin/invoke-rc.d start $service

Of the services I’m using only SSH still seems to be affected by this. I’ll
attach the output.

> Do you have a /usr/sbin/policy-rc.d script?  It could override the
> behavior of invoke-rc.d.

No, I don’t have such a script.


Regards, Mathias

-- 
debian/rules
+ RUNLEVEL=/sbin/runlevel
+ POLICYHELPER=/usr/sbin/policy-rc.d
+ INITDPREFIX=/etc/init.d/
+ RCDPREFIX=/etc/rc
+ BEQUIET=
+ MODE=
+ ACTION=
+ FALLBACK=
+ NOFALLBACK=
+ FORCE=
+ RETRY=
+ RETURNFAILURE=
+ RC=
+ set +e
+ test 2 -eq 0
+ state=I
+ test 2 -gt 0
+ test I '!=' III
+ case "$1" in
+ case ${state} in
+ verifyparameter ssh
+ test 1 -eq 0
+ test 1 -ne 1
+ return
+ INITSCRIPTID=ssh
+ state=II
+ shift
+ test 1 -gt 0
+ test II '!=' III
+ case "$1" in
+ case ${state} in
+ verifyparameter start
+ test 1 -eq 0
+ test 1 -ne 1
+ return
+ ACTION=start
+ state=III
+ shift
+ test 0 -gt 0
+ test III '!=' III
+ case ${ACTION} in
+ test '!' -f /etc/init.d/ssh
++ /sbin/runlevel
++ sed 's/.*\ //'
+ RL=2
+ test '!' 0
+ test x2 = x0
+ test x2 = x6
+ test x2 '!=' x
++ ls -d -Q '/etc/rc2.d/S[0-9][0-9]ssh'
++ xargs
+ SLINK=
++ ls -d -Q /etc/rc2.d/K19ssh
++ xargs
+ KLINK=/etc/rc2.d/K19ssh
++ ls -d -Q '/etc/rcS.d/S[0-9][0-9]ssh'
++ xargs
+ SSLINK=
+ verifyrclink /etc/rc2.d/K19ssh
+ doexit=
+ test 1 -gt 0
+ test '!' -L /etc/rc2.d/K19ssh
+ test '!' -f /etc/rc2.d/K19ssh
+ shift
+ test 0 -gt 0
+ test x '!=' x
+ return 0
+ RC=
+ case ${ACTION} in
+ testexec
+ test 0 -gt 0
+ return 1
+ testexec /etc/rc2.d/K19ssh
+ test 1 -gt 0
+ test -x /etc/rc2.d/K19ssh
+ return 0
+ RC=101
+ testexec /etc/init.d/ssh
+ test 1 -gt 0
+ test -x /etc/init.d/ssh
+ return 0
+ test x101 = x
+ querypolicy
+ policyaction=start
+ test x101 = x101
+ test start = start
+ policyaction='(start)'
+ test x/usr/sbin/policy-rc.d '!=' x
+ test -x /usr/sbin/policy-rc.d
+ test x101 = x
+ return
+ case ${RC} in
+ test x = xquery
+ test x '!=' x
+ test 101 -eq 104
+ test 101 -eq 101
+ test x = x
+ RC=0
+ exit 0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to