[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Steve Langasek
*** This bug is a duplicate of bug 1543051 ***
https://bugs.launchpad.net/bugs/1543051

This is a duplicate of bug #1543051, for which a fix has already been
uploaded and is currently in xenial-proposed.

** Changed in: sysvinit (Ubuntu)
   Status: New => Invalid

** This bug has been marked a duplicate of bug 1543051
   New helpers version fail on "unknown initscript"

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Serge Hallyn
FWIW I dont' think this is a regression.  I think this has always been
buggy.  We just don't notice bc we don't generally debootstrap systems
with lxc any more.

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Serge Hallyn
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
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1543170

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Stéphane Graber
Up until last week, cloud images were being built just fine with lxc and
lxd in them, starting this week, they fail, that seems like a regression
to me.

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Stéphane Graber
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
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1543170

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Stéphane Graber
I'm marking the lxc task invalid as no packaging change occurred on
lxc's side and this, admittedly rare, init script configuration has been
supported for years and should still be supported.

Directly subscribing the containers team though so we can help track
down the source of the regression.

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Stéphane Graber
Subscribing Martin Pitt who very recently merged init-system-helpers.
I've not yet read the diff, but this seems like a fair bet as to what
changed recently (last upload was Feb 5).

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Serge Hallyn
Oh, good.

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Ben Howard
** Package changed: ubuntu => lxd (Ubuntu)

** Package changed: lxd (Ubuntu) => lxc (Ubuntu)

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Serge Hallyn
This seems very similar to bug 1185364.

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Serge Hallyn
An easy way to reproduce this is using

sudo lxc-create -t ubuntu -n x1 -- -r xenial --packages lxc


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

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Serge Hallyn
I think the bug may be the following:

invoke-rc.d checks whether upstart or systemd is running by checking for

-d /run/systemd/system

inside the chroot, this would not be the case.  Therefore it checks for
the sysvinit script, which lxc does not provide.

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1543170] Re: lxc fails to install

2016-02-08 Thread Serge Hallyn
Indeed, if I do

sudo debootstrap --verbose --components=main,universe --arch=amd64
--include=lxc xenial x

pause the debootstrap after it has expanded all the packages, edit
x/usr/sbin/invoke-rc.d to change "elif test -d /run/systemd/system" on
line 278 to "elif true', then the installation succeeds.


** Also affects: init-system-helpers (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: sysvinit (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  lxc fails to install

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs