Comment 2 for bug 282876

Revision history for this message
.:. brainsik (brainsik) wrote :

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