← Back to team overview

touch-packages team mailing list archive

[Bug 1543170] Re: lxc fails to install

 

Note that the analogous upstart test, 'initctl version', does work under
chroot

sudo lxc-create -t download -n t1 -- -d ubuntu -r trusty -a amd64
sudo lxc-create -t download -n x1 -- -d ubuntu -r xenial -a amd64

chroot /var/lib/lxc/t1/rootfs initctl version
init (upstart 1.12.1)

chroot /var/lib/lxc/x1/rootfs ls /run
lock  mount  network  resolvconf  utmp

(of course, /run/systemd/system could not exist in a chroot)

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