Bug#283175: sooner ssh startup after init
Package: ssh
Version: 3.8.1p1
Severity: wishlist
Tags: patch
due to the alphabetical processing in system v init,
and most daemons using the default startup nr 20
ssh gets up very late on boot.
databases and other intersting daemons get their initscripts
run before ssh, their hangers can be annoying on local network,
but are bummer on remote machines.
please consider to startup ssh a bit sooner than default.
belows patch to the ssh postinst implements that.
for the stop i left the default settings as previous.
thanks for your feedback.
regards maks
ps thanks for klaus ita, convincing me that not only remote users
suffer on that state. ;-)
--- postinst.orig 2004-11-27 02:26:58.000000000 +0100
+++ postinst 2004-11-27 02:38:28.000000000 +0100
@@ -373,7 +373,7 @@
setup_init() {
if [ -x /etc/init.d/ssh ]; then
- update-rc.d ssh defaults >/dev/null
+ update-rc.d ssh start 19 2 3 4 5 . stop 20 0 1 6 . >/dev/null
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d ssh restart
else
Reply to: