Public bug reported:

init.d grub-common LSB header: Require-Start $all

there is no mention of grub anywhere in Cisco's vpnagentd_init script.

insserv: Starting vpnagentd_init depends on grub-common and therefore on system 
facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on grub-common and therefore on system 
facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on grub-common and therefore on system 
facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on grub-common and therefore on system 
facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on grub-common and therefore on system 
facility `$all' which can not be true!
insserv: Max recursions depth 99 reached

after removing Require-Start in grub-common all is fine. however this is
just a temporary fix.

==FULL vpnagentd_init file ==

#!/bin/sh
#
# chkconfig: 345 85 25
# description: vpnagentd is used for managing the cisco vpn client datapath.
# processname: vpnagentd


# Source function library.
if [ -e "/etc/init.d/functions" ]; then
  . /etc/init.d/functions
fi

RETVAL=0

start() {
  # If TUN isn't supported by the kernel, try loading the module...
  /sbin/lsmod | grep tun > /dev/null 
  if [ $? -ne 0 ]; then
    /sbin/modprobe tun > /dev/null 2> /dev/null
    if [ $? -ne 0 ]; then
      # check for /dev/net/tun
      [ -c "/dev/net/tun" ] || echo  Warning: Unable to verify that the tun/tap 
driver is loaded.  Contact your system administrator for assistance.
    fi
  fi

  echo -n $"Starting up Cisco VPN daemon "
  /opt/cisco/vpn/bin/vpnagentd
  RETVAL=$?
  echo
  return $RETVAL
}

stop() {
        echo -n $"Shutting down Cisco VPN daemon "
        killall vpnagentd
        RETVAL=$?
        echo
        return $RETVAL
}

dostatus() {
        status vpnagentd
}

restart() {
        stop
        start
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  restart)
    restart
    ;;
  status)
        dostatus
        ;;
  *)
        echo $"Usage: vpnagent {start|stop|restart|status}"
        exit 1
esac

exit $RETVAL

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: virtualbox 4.1.12-dfsg-2ubuntu0.1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Mon Jun 25 22:06:03 2012
DuplicateSignature:
 Setting up virtualbox (4.1.12-dfsg-2ubuntu0.1) ...
 Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 
417.
 update-rc.d: error: insserv rejected the script header
 dpkg: error processing virtualbox (--configure):
  subprocess installed post-installation script returned error exit status 255
ErrorMessage: subprocess installed post-installation script returned error exit 
status 255
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120320)
SourcePackage: virtualbox
Title: package virtualbox 4.1.12-dfsg-2ubuntu0.1 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 255
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.ModInfo:

** Affects: virtualbox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386 precise

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

Title:
  package virtualbox 4.1.12-dfsg-2ubuntu0.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 255

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1017811/+subscriptions

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

Reply via email to