[Debian-ha-maintainers] Bug#576901: init.d script fails under Squeeze with insserv due to lack of run level definitions

Christian Balzer chibi at gol.com
Thu May 13 08:56:07 UTC 2010


Oh, one more thing to make it _really_ work. ^.^
Before insserv times drbd was started before HA (heartbeat) and stopped
after it. Without the additional X- lines below it will stop in parallel
with HA and thus lead to all kinds of nastiness and fireworks. Please
consider this for your final fix or alternatively get the HA people to
include drbd in their Should- sections.

---
### BEGIN INIT INFO
# Provides:             drbd
# Required-Start:       $local_fs $network $syslog
# Required-Stop:        $local_fs $network $syslog
# Should-Start:		sshd multipathd
# Should-Stop:		sshd multipathd
# X-Start-Before:       HA
# X-Stop-After:         HA
# Default-Start:        2 3 4 5
# Default-Stop:         0 1 6
# Short-Description:    Control drbd resources.
### END INIT INFO
---

Regards,

Christian
-- 
Christian Balzer        Network/Systems Engineer                
chibi at gol.com   	Global OnLine Japan/Fusion Communications
http://www.gol.com/





More information about the Debian-ha-maintainers mailing list