← Back to team overview

touch-packages team mailing list archive

[Bug 1543170] Re: lxc fails to install

 

I just compared the content of lxc 1.1.5-0ubuntu6 which I'm assuming was
the last working LXC version in cloud images and lxc
2.0.0~beta2-0ubuntu2 that we have now and neither provides any
/etc/init.d script nor am I seeing any packaging change on our side
which would explain this.

Packaging diff stat:

stgraber@dakara:~/data/code/lxc/lxc-pkg-ubuntu (dpm-xenial)$ git diff debian/1.1.5-0ubuntu6.. debian/ | filterdiff -x '*/patches/*' | diffstat
 .git-dpm    |   14 +++++++-------
 changelog   |   14 ++++++++++++++
 lxc.install |    1 +
 3 files changed, 22 insertions(+), 7 deletions(-)


So it indeed seems like something in the packaging tools (init-system-helpers, debhelper, invoke-rc.d, ...) caused the change in behavior, causing this bug for any package which ships upstart jobs or systemd units without an accompanying sysvinit job, as is the case of LXC.

** Changed in: lxc (Ubuntu)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1543170

Title:
  lxc fails to install

Status in init-system-helpers package in Ubuntu:
  New
Status in lxc package in Ubuntu:
  Invalid
Status in sysvinit package in Ubuntu:
  New

Bug description:
  LXC in Xenial fails to install. Since this is a seed package for the
  cloud-images, cloud image builds are now broken.

  Setting up lxc (2.0.0~beta2-0ubuntu2) ...
  invoke-rc.d: unknown initscript, /etc/init.d/lxc not found.
  dpkg: error processing package lxc (--configure):
   subprocess installed post-installation script returned error exit status 100
  dpkg: dependency problems prevent configuration of lxc-templates:
   lxc-templates depends on lxc (>= 0.8.0~rc1-4ubuntu43); however:
    Package lxc is not configured yet.

  dpkg: error processing package lxc-templates (--configure):
   dependency problems - leaving unconfigured
  Setting up lxcfs (0.17-0ubuntu3) ...
  Running in chroot, ignoring request.
  All runlevel operations denied by policy
  invoke-rc.d: policy-rc.d denied execution of start.
  Setting up xz-utils (5.1.1alpha+20120614-2ubuntu2) ...
  update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
  dpkg: dependency problems prevent configuration of lxd:
   lxd depends on lxc; however:
    Package lxc is not configured yet.

  dpkg: error processing package lxd (--configure):

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1543170/+subscriptions