[Pkg-sysvinit-devel] Bug#345269: sysv-rc /etc/init.d/rc 'startpar'
script errors
Mark Hatle
mhatle at mvista.com
Fri Dec 30 00:23:46 UTC 2005
Package: sysv-rc
Version: 2.86.ds.1-8
When using the "startpar" CONCURRENCY, I ran into two different issues.
The first is a typo:
-$newscripts="$newscripts $script"
+newscripts="$newscripts $script"
The second is how startpar is being invoked:
-$debug startpar -a $action $scripts
+[ -n "$scripts" ] && $debug startpar -a $action $scripts > /dev/null
Before startpar was being called always, but if scripts were sourced in
the S runlevel, there may be no scripts to execute. So we need to
verify that there are scripts to run. Second, startpar responds to
stdout with the return codes of any scripts that it executes. I have
redirected this to /dev/null to match existing screen output from the rc
scripts.
More information about the Pkg-sysvinit-devel
mailing list