[Bug 1587903] Re: invoke-rc.d does not start services in containers

Launchpad Bug Tracker 1587903 at bugs.launchpad.net
Mon Jun 20 09:25:34 UTC 2016


This bug was fixed in the package init-system-helpers - 1.35ubuntu1

---------------
init-system-helpers (1.35ubuntu1) yakkety; urgency=medium

  * Merge from Debian unstable. Remaining Ubuntu changes:
    - init: Drop sysvinit-core as alternative init system.

init-system-helpers (1.35) unstable; urgency=medium

  * invoke-rc.d: When running under systemd, query systemctl is-enabled
    instead of checking for rc?.d/ links. This allows operation without
    sysv-rc with packages that ship native systemd units. Packages which only
    ship an init.d script continue to need sysv-rc and runlevels, of course.
    (Closes: #827191, LP: #1587903)

 -- Martin Pitt <martin.pitt at ubuntu.com>  Sun, 19 Jun 2016 21:09:01
+0200

** Changed in: init-system-helpers (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to init-system-helpers in Ubuntu.
https://bugs.launchpad.net/bugs/1587903

Title:
  invoke-rc.d does not start services in containers

Status in Ubuntu Seeds:
  Fix Released
Status in init-system-helpers package in Ubuntu:
  Fix Released

Bug description:
  In current yakkety, invoke-rc.d start is broken in containers:

  $ lxc launch images:ubuntu/yakkety/amd64 y1
  $ lxc exec y1 systemctl stop cron
  $ lxc exec y1 invoke-rc.d cron start
  $ lxc exec y1 systemctl status cron
  ● cron.service - Regular background program processing daemon
     Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Wed 2016-06-01 13:48:50 UTC; 9s ago

  "invoke-rc.d cron stop" does seem to work, though. This is a
  regression in recent yakkety.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: init-system-helpers 1.34ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-23.41-generic 4.4.10
  Uname: Linux 4.4.0-23-generic x86_64
  ApportVersion: 2.20.1-0ubuntu4
  Architecture: amd64
  CurrentDesktop: i3
  Date: Wed Jun  1 15:49:23 2016
  EcryptfsInUse: Yes
  PackageArchitecture: all
  SourcePackage: init-system-helpers
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-seeds/+bug/1587903/+subscriptions



More information about the foundations-bugs mailing list