Re: Bug#122188: SSH rc?.d/S19 instead of S20, will this bug ever get closed? First submission is 5 years ago!
[Jeroen Massar]
> Just bump the priority to S19 this will make it start before the
> default value of all other daemons, on a more-or-less standard colo
> box that means waiting for large tools like mailman, mysql, postfix,
> apache2, makedev etc.
Would running the scripts in parallel solve you problem? This is
possible with the current sysvinit package in etch and sid. Look for
CONCURRENCY in /etc/init.d/rc to figure out how.
Also, you could make sure the sshd init.d script include correct
dependency information in LSB format,
<URL:http://wiki.debian.org/LSBInitScripts>. Next, you can use
insserv to reorder all the scripts to make sure the scripts are
started in dependency order. This is a bit higher risk at the moment,
as the runlevels 1 and 6 are not entirely correctly documented yet,
but work fine for the other runlevels.
Friendly,
--
Petter Reinholdtsen
Reply to: