[Bug 282876] Re: drbd doesn't start on boot

brainsik spork-ubuntu at theory.org
Fri Dec 5 18:01:38 GMT 2008


What's happening is that the /etc/init.d/drbd script is having it's LSB
headers parsed by the update-rc.d program. These are the LSB headers:

### BEGIN INIT INFO
# Provides: drbd
# Required-Start: $network $syslog sshd
# Required-Stop: $network $syslog sshd
# Default-Start:  3 5
# Default-Stop:   0 1 2 6
# Short-Description:    Control drbd resources.
### END INIT INFO

The line:

# Default-Start:  3 5

Means update-rc.d will only create start links in rc3.d and rc5.d. This
is why not start link appears in rc2.d and why drbd doesn't start at
boot.

It seems a simple fix would be to remove the LSB headers from this
script as they are breaking the expected function of update-rc.d.

.:. brainsik

-- 
drbd doesn't start on boot
https://bugs.launchpad.net/bugs/282876
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to drbd8 in ubuntu.



More information about the Ubuntu-server-bugs mailing list