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)
Your upgrade log shows:
Paramétrage de initscripts (2.88dsf- 41ubuntu18) ... d/ondemand ...
Installation de la nouvelle version du fichier de configuration /etc/init.
insserv: warning: script 'K01vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cron'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `cron'
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
[...]
insserv: Starting vpnagentd_init depends on grub-common and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
With this release of Ubuntu, we require init scripts to declare LSB dependencies in a pseudoheader, so that insserv is able to calculate a dependency tree for them. This is an unfortunate side-effect of the longer-term transition between upstart and systemd.
To fix your particular problem, it should suffice for you to add the following lines to the top of your local /etc/init. d/vpnagentd_ init script (below the first line):
### BEGIN INIT INFO
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
### END INIT INFO
It's not clear to me that we can do anything further to mitigate this problem on upgrade, but we should certainly make sure that it gets documented in the release notes.