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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1385817

Title:
  initscripts package fails to upgrade if there are local init scripts
  on the system with no LSB headers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1385817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to