Comment 23 for bug 1385817

Revision history for this message
Michael (rgnglzrd) wrote :

I've upgraded this machine since 10.10. The rc.local provided with previous version did NOT have LSB headers in them. The file was never upgraded during previous system upgrades. Simply adding:

### BEGIN INIT INFO
# Provides: local
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start local scripts at boot time
# Description: Enable services provided by local daemons.
### END INIT INFO

seems to resolve the problem.

As a long term solution, having the upgrade package look for files missing the LSB header and fail upon finding them BEFORE the upgrade begins would be most helpful. The other choice would be to simply insert a generic LSB header into the offending file and proceed as usual.