← Back to team overview

touch-packages team mailing list archive

[Bug 1385817] Re: initscripts package fails to upgrade if there are local init scripts on the system with no LSB headers

 

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
Touch seeded packages, which is subscribed to sysvinit in 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

Status in Release Notes for Ubuntu:
  Triaged
Status in sysvinit package in Ubuntu:
  Triaged

Bug description:
  The dependency-based boot sequencing originally introduced upstream
  with Debian 6.0 is now always enabled in Ubuntu 14.10.

  For optimal sequencing, all init.d scripts should declare their
  dependencies in an LSB header. This is already the case for scripts
  shipped in Ubuntu, but users should check their local scripts and
  consider adding that information.

  For more information on this feature refer to the information
  available in /usr/share/doc/insserv/README.Debian.

  ProblemType: Package
  DistroRelease: Ubuntu 14.10
  Package: initscripts-2.88dsf 41ubuntu18
  ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
  Uname: Linux x86_64 3.13.0-37-generic
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  Date: Sun October 26 2014 7:52:55
  DuplicateSignature: Package: initscripts: 2.88dsf-41ubuntu18: the post-installation script subprocess installed returned error exit status 1
  ErrorMessage: The post-install script subprocess installed returned error exit status 1
  InstallationDate: Installed on 2014-08-06 (80 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: sysvinit
  Title: initscripts package 2.88dsf-41ubuntu18 failed to install / upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to utopic on 2014-10-26 (0 days ago)

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


References