← Back to team overview

touch-packages team mailing list archive

[Bug 1444502] Re: sysv-rc uses /sbin/runlevel without depending on a package that provides it

 

I think the best/easiest fix for this would be to have sysv-rc "Depends:
init"?

-- 
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/1444502

Title:
  sysv-rc uses /sbin/runlevel without depending on a package that
  provides it

Status in sysvinit package in Ubuntu:
  New

Bug description:
  Diogo had the following error on installing mysql-server-5.6
  (5.6.23-1~exp1~ubuntu5):

  /usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not
  found

  Upon investigation, it seems that he didn't have systemd-sysv
  installed. He had started from a Vivid beta3 image and only upgraded
  (not dist-upgraded) since. A dist-upgrade brought in systemd-sysv and
  fixed the issue.

  However, I note that this shouldn't have happened anyway. sysv-rc
  (which provides invoke-rc.d) should depend on whatever provides
  /sbin/runlevel since it's provided here by systemd-sysv which is not
  marked essential. If it did so, then Diogo's system would have held
  back packages appropriately to not cause this breakage until he dist-
  upgraded.

  We think Diogo was running version 2.88dsf-53.2ubuntu12 before the
  upgrade. He's definitely running 2.88dsf-53.2ubuntu12 now.

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


References