[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2013-10-21 Thread Serge Hallyn
Hi,

I suspect you're suffering from the veth offloading feature in saucy
kernel.  If possible please flush the lxc cache (sudo rm -rf
/var/cache/lxc/*) and re-create the containers, or else chroot into the
containers to update them.  Newer userspace will work around the
feature.

If that doesn't help, please open a new bug.

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2013-10-21 Thread Serge Hallyn
Hi,

I suspect you're suffering from the veth offloading feature in saucy
kernel.  If possible please flush the lxc cache (sudo rm -rf
/var/cache/lxc/*) and re-create the containers, or else chroot into the
containers to update them.  Newer userspace will work around the
feature.

If that doesn't help, please open a new bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2013-10-20 Thread Oliver Mueller
Is it possible that this bug returned?

I updated the host to ubuntu saucy and lxc was working fine with the
virtual machine jenkins. Once I updated the guest system to saucy as
well, it seemed not to boot, but I was wrong. It never reached the
runlevel (5), which it did before.

Here is the output of lxc-ls

# lxc-ls --fancy
NAME   STATEIPV4  IPV6  AUTOSTART
-
jenkinsRUNNING  192.168.1.30  - NO
php-54-32  STOPPED  - - NO
test   STOPPED  - - NO

as you can see it is running, but not reachable by ssh. so I entered:

# lxc-attach -n jenkins -- runlevel
unknown

it doesn't know in which runlevel it is.

even though the network is up within the guest system:

# lxc-attach -n jenkins -- ifconfig
eth0  Link encap:Ethernet  HWaddr 10:16:3e:53:5b:7a
  inet addr:192.168.1.30  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::1216:3eff:fe53:5b7a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:277 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:44733 (44.7 KB)  TX bytes:648 (648.0 B)

as soon as I force the runlevel with:

lxc-attach -n jenkins -- init 5

everything is working, until I reboot the guest again.

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2013-10-20 Thread Oliver Mueller
Is it possible that this bug returned?

I updated the host to ubuntu saucy and lxc was working fine with the
virtual machine jenkins. Once I updated the guest system to saucy as
well, it seemed not to boot, but I was wrong. It never reached the
runlevel (5), which it did before.

Here is the output of lxc-ls

# lxc-ls --fancy
NAME   STATEIPV4  IPV6  AUTOSTART
-
jenkinsRUNNING  192.168.1.30  - NO
php-54-32  STOPPED  - - NO
test   STOPPED  - - NO

as you can see it is running, but not reachable by ssh. so I entered:

# lxc-attach -n jenkins -- runlevel
unknown

it doesn't know in which runlevel it is.

even though the network is up within the guest system:

# lxc-attach -n jenkins -- ifconfig
eth0  Link encap:Ethernet  HWaddr 10:16:3e:53:5b:7a
  inet addr:192.168.1.30  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::1216:3eff:fe53:5b7a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:277 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:44733 (44.7 KB)  TX bytes:648 (648.0 B)

as soon as I force the runlevel with:

lxc-attach -n jenkins -- init 5

everything is working, until I reboot the guest again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-05-17 Thread Stéphane Graber
Based on comment above, marking verification-done

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-05-17 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.4-0ubuntu7.3

---
lxc (0.7.4-0ubuntu7.3) natty-proposed; urgency=low

  * lxcguest.lxcguest.upstart: emit the net-device-up IFACE=lo event, so
that any upstart jobs waiting on it (esp rc-sysinit before oneiric) will
proceed.  (LP: #924337)
  * debian/rules: install lxcguest.lxcguest.upstart (as it was not in the
natty package before)
 -- Serge Hallyn serge.hal...@ubuntu.com   Wed, 28 Mar 2012 13:58:23 -0500

** Changed in: lxc (Ubuntu Natty)
   Status: Fix Committed = Fix Released

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-05-17 Thread Stéphane Graber
Based on comment above, marking verification-done

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-05-17 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.4-0ubuntu7.3

---
lxc (0.7.4-0ubuntu7.3) natty-proposed; urgency=low

  * lxcguest.lxcguest.upstart: emit the net-device-up IFACE=lo event, so
that any upstart jobs waiting on it (esp rc-sysinit before oneiric) will
proceed.  (LP: #924337)
  * debian/rules: install lxcguest.lxcguest.upstart (as it was not in the
natty package before)
 -- Serge Hallyn serge.hal...@ubuntu.com   Wed, 28 Mar 2012 13:58:23 -0500

** Changed in: lxc (Ubuntu Natty)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-12 Thread Gary Poster
Salgado, would you be able to do this verification?  If not, let me
know, and I'll do it.

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-12 Thread Guilherme Salgado
Just confirmed; this did fix a newly created Natty container for me.
Thanks!

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-12 Thread Gary Poster
Salgado, would you be able to do this verification?  If not, let me
know, and I'll do it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-12 Thread Guilherme Salgado
Just confirmed; this did fix a newly created Natty container for me.
Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-11 Thread Chris Halse Rogers
Hello Gary, or anyone else affected,

Accepted lxc into natty-proposed. The package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: lxc (Ubuntu Natty)
   Status: Confirmed = Fix Committed

** Tags removed: verification-done

** Tags added: verification-needed

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-11 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/natty-proposed/lxc

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-11 Thread Chris Halse Rogers
Hello Gary, or anyone else affected,

Accepted lxc into natty-proposed. The package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: lxc (Ubuntu Natty)
   Status: Confirmed = Fix Committed

** Tags removed: verification-done

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-04-11 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/natty-proposed/lxc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-03-28 Thread Guilherme Salgado
This happens to me on a Natty container:

salgado@delgadito:~$ cat /var/lib/lxc/patchmetrics/rootfs/etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION=Ubuntu 11.04
salgado@delgadito:~$ sudo lxc-start -n patchmetrics
init: procps main process (26) terminated with status 255
init: udev-fallback-graphics main process (46) terminated with status 1
init: plymouth main process (6) killed by ABRT signal
init: plymouth-splash main process (52) terminated with status 2


** Changed in: lxc (Ubuntu Natty)
   Status: Invalid = Confirmed

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-03-28 Thread Serge Hallyn
Confirmed - in fact /etc/init/lxcguest.conf is missing altogether,
causing other problems as well.

I'll push a fix to natty-proposed.  Thanks for pointing this out.

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-03-28 Thread Guilherme Salgado
This happens to me on a Natty container:

salgado@delgadito:~$ cat /var/lib/lxc/patchmetrics/rootfs/etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION=Ubuntu 11.04
salgado@delgadito:~$ sudo lxc-start -n patchmetrics
init: procps main process (26) terminated with status 255
init: udev-fallback-graphics main process (46) terminated with status 1
init: plymouth main process (6) killed by ABRT signal
init: plymouth-splash main process (52) terminated with status 2


** Changed in: lxc (Ubuntu Natty)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-03-28 Thread Serge Hallyn
Confirmed - in fact /etc/init/lxcguest.conf is missing altogether,
causing other problems as well.

I'll push a fix to natty-proposed.  Thanks for pointing this out.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-03-02 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-0ubuntu8.5

---
lxc (0.7.5-0ubuntu8.5) oneiric-proposed; urgency=low

  * lxcguest.lxcguest.upstart: emit the net-device-up IFACE=lo event, so
that any upstart jobs waiting on it (esp rc-sysinit before oneiric) will
proceed.  (LP: #924337)
  * 0035-lxc-init-ignore-shm.patch: if lxc-init can't mount /dev/shm, don't
fail on account of that.  (LP: #927883)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 06 Feb 2012 19:06:46 -0600

** Changed in: lxc (Ubuntu Oneiric)
   Status: Fix Committed = Fix Released

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-03-02 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-0ubuntu8.5

---
lxc (0.7.5-0ubuntu8.5) oneiric-proposed; urgency=low

  * lxcguest.lxcguest.upstart: emit the net-device-up IFACE=lo event, so
that any upstart jobs waiting on it (esp rc-sysinit before oneiric) will
proceed.  (LP: #924337)
  * 0035-lxc-init-ignore-shm.patch: if lxc-init can't mount /dev/shm, don't
fail on account of that.  (LP: #927883)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 06 Feb 2012 19:06:46 -0600

** Changed in: lxc (Ubuntu Oneiric)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-23 Thread Serge Hallyn
Confirmed, lxcguest from oneiric-proposed fixes this in an oneiric
guest.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-23 Thread Serge Hallyn
Confirmed, lxcguest from oneiric-proposed fixes this in an oneiric
guest.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-22 Thread Clint Byrum
Hello Gary, or anyone else affected,

Accepted lxc into oneiric-proposed. The package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: lxc (Ubuntu Oneiric)
   Status: New = Fix Committed

** Tags added: verification-needed

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-22 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/oneiric-proposed/lxc

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-22 Thread Clint Byrum
Hello Gary, or anyone else affected,

Accepted lxc into oneiric-proposed. The package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: lxc (Ubuntu Oneiric)
   Status: New = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-22 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/oneiric-proposed/lxc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
 Assignee: Stéphane Graber (stgraber) = Serge Hallyn (serge-hallyn)

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Fix Released

** Also affects: lxc (Ubuntu Natty)
   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/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: Fix Released = Confirmed

** Also affects: lxc (Ubuntu Oneiric)
   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/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-3ubuntu18

---
lxc (0.7.5-3ubuntu18) precise; urgency=low

  * lxcguest.lxcguest.upstart: emit the net-device-up IFACE=lo event, so
that any upstart jobs waiting on it (esp rc-sysinit before oneiric) will
proceed.  (LP: #924337)
  * 0034-fix-lxc-execute-reboot.patch: fix bad handling of 'exit 0' for
lxc-execute introduced with the container reboot handling.  (LP: #927863)
  * debian/lxcguest.lxcmount.upstart: add '--no-wait' to emit to make sure we
don't wait for the event to be processed.
  * 0035-lxc-init-ignore-shm.patch: if lxc-init can't mount /dev/shm, don't
fail on account of that.  (LP: #927883)
  * debian/lxc.init: if the network is already up, exit before setting the
trap EXIT.
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 06 Feb 2012 17:37:37 -0600

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Fix Released

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lxc

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Changed in: lxc (Ubuntu Natty)
   Status: New = 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/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Description changed:

+ 
+ SRU Justification
+ 1. Impact: any upstart jobs which start on lo being raised will not start
+ 2. Development fix: lxcguest emits the signal pretending that lo was created
+ 3. Stable fix: same as development fix
+ 4. Test case (on precise host):
+a. lxc-create -t ubuntu -n test1 -- -r oneiric
+b. cat  /var/lib/lxc/test1/rootfs/etc/init/lxclo.conf  EOF
+ description detect net-device-up IFACE=lo
+ start on net-device-up IFACE=lo
+ EOF
+c. lxc-start -n test1
+Log in as root:root, and type 'status lxclo'.  With the fix, it will say
+lxclo is 'start/running'.
+ 5. Regression potential: if this were done wrong, containers could fail to 
start up right.
+ 
+ 
  On precise with newest packages as of 2012-01-31 1500Z, trying to start
  an lxc lucid container hangs.  Oneric and Precise containers work fine.
  
  $ sudo lxc-start -n lp
  init: ureadahead-other main process (31) terminated with status 4
  init: console-setup main process (32) terminated with status 1
  init: procps main process (33) terminated with status 255
  init: ureadahead-other main process (37) terminated with status 4
  [HANGS HERE, for at least two minutes]
  
  How I created the container:
  $ sudo lxc-create -t ubuntu -n lp -f /etc/lxc/local.conf -- -r lucid -a i686 
-b gary
  
  local.conf:
  $ cat /etc/lxc/local.conf
  lxc.network.type=veth
  lxc.network.link=lxcbr0
  lxc.network.flags=up
  
  /var/lib/lxc/lp/rootfs/etc/resolv.conf was a symlink to
  /etc/resolvconf/run/resolv.conf.  On the basis of previous
  conversations, I tried changing it to nameserver 10.0.3.1 to no luck

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
 Assignee: Stéphane Graber (stgraber) = Serge Hallyn (serge-hallyn)

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Fix Released

** Also affects: lxc (Ubuntu Natty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: Fix Released = Confirmed

** Also affects: lxc (Ubuntu Oneiric)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.7.5-3ubuntu18

---
lxc (0.7.5-3ubuntu18) precise; urgency=low

  * lxcguest.lxcguest.upstart: emit the net-device-up IFACE=lo event, so
that any upstart jobs waiting on it (esp rc-sysinit before oneiric) will
proceed.  (LP: #924337)
  * 0034-fix-lxc-execute-reboot.patch: fix bad handling of 'exit 0' for
lxc-execute introduced with the container reboot handling.  (LP: #927863)
  * debian/lxcguest.lxcmount.upstart: add '--no-wait' to emit to make sure we
don't wait for the event to be processed.
  * 0035-lxc-init-ignore-shm.patch: if lxc-init can't mount /dev/shm, don't
fail on account of that.  (LP: #927883)
  * debian/lxc.init: if the network is already up, exit before setting the
trap EXIT.
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 06 Feb 2012 17:37:37 -0600

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lxc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Changed in: lxc (Ubuntu Natty)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-06 Thread Serge Hallyn
** Description changed:

+ 
+ SRU Justification
+ 1. Impact: any upstart jobs which start on lo being raised will not start
+ 2. Development fix: lxcguest emits the signal pretending that lo was created
+ 3. Stable fix: same as development fix
+ 4. Test case (on precise host):
+a. lxc-create -t ubuntu -n test1 -- -r oneiric
+b. cat  /var/lib/lxc/test1/rootfs/etc/init/lxclo.conf  EOF
+ description detect net-device-up IFACE=lo
+ start on net-device-up IFACE=lo
+ EOF
+c. lxc-start -n test1
+Log in as root:root, and type 'status lxclo'.  With the fix, it will say
+lxclo is 'start/running'.
+ 5. Regression potential: if this were done wrong, containers could fail to 
start up right.
+ 
+ 
  On precise with newest packages as of 2012-01-31 1500Z, trying to start
  an lxc lucid container hangs.  Oneric and Precise containers work fine.
  
  $ sudo lxc-start -n lp
  init: ureadahead-other main process (31) terminated with status 4
  init: console-setup main process (32) terminated with status 1
  init: procps main process (33) terminated with status 255
  init: ureadahead-other main process (37) terminated with status 4
  [HANGS HERE, for at least two minutes]
  
  How I created the container:
  $ sudo lxc-create -t ubuntu -n lp -f /etc/lxc/local.conf -- -r lucid -a i686 
-b gary
  
  local.conf:
  $ cat /etc/lxc/local.conf
  lxc.network.type=veth
  lxc.network.link=lxcbr0
  lxc.network.flags=up
  
  /var/lib/lxc/lp/rootfs/etc/resolv.conf was a symlink to
  /etc/resolvconf/run/resolv.conf.  On the basis of previous
  conversations, I tried changing it to nameserver 10.0.3.1 to no luck

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-04 Thread Stéphane Graber
Right, so we need for anything before Oneiric to have that emit in
lxcguest, since Oneiric it should be properly handled by networking.conf
bringing up lo and by the static-network-up event.

Starting with Precise where we won't have lxcguest, the same trick as
Oneiric will work so we won't need to emit net-device-up either.

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-04 Thread Stéphane Graber
Right, so we need for anything before Oneiric to have that emit in
lxcguest, since Oneiric it should be properly handled by networking.conf
bringing up lo and by the static-network-up event.

Starting with Precise where we won't have lxcguest, the same trick as
Oneiric will work so we won't need to emit net-device-up either.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-03 Thread Serge Hallyn
It turns out the original problem never went away.  The container never
gets a net-device-up event for lo, even in precise.  You can verify this
trivially with two upstart jobs, /etc/init/lxc{lo,eth}.conf:

 lxclo.conf 
description detect net-device-up IFACE=lo
start on net-device-up IFACE=lo
 lxceth.conf ===
description detect net-device-up IFACE=eth0
start on net-device-up IFACE=eth0


Start the container and check 'status lxclo' and 'status lxceth'.

The reason this happens is clear in /etc/network/if-up.d/upstart.  The reason
this stopped mattering is that rc-sysinit.conf switched from being

start on filesystem and net-device-up IFACE=lo

to being

start on (filesystem and static-network-up) or failsafe-boot

Where static-network-up does not require lo to come up.

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-03 Thread Serge Hallyn
It turns out the original problem never went away.  The container never
gets a net-device-up event for lo, even in precise.  You can verify this
trivially with two upstart jobs, /etc/init/lxc{lo,eth}.conf:

 lxclo.conf 
description detect net-device-up IFACE=lo
start on net-device-up IFACE=lo
 lxceth.conf ===
description detect net-device-up IFACE=eth0
start on net-device-up IFACE=eth0


Start the container and check 'status lxclo' and 'status lxceth'.

The reason this happens is clear in /etc/network/if-up.d/upstart.  The reason
this stopped mattering is that rc-sysinit.conf switched from being

start on filesystem and net-device-up IFACE=lo

to being

start on (filesystem and static-network-up) or failsafe-boot

Where static-network-up does not require lo to come up.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-02 Thread Serge Hallyn
** Summary changed:

- lxc on precise is not working with lucid containers
+ lxc on precise is not working with lucid containers (container does not reach 
runlevel 2)

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-02 Thread Serge Hallyn
rc-sysinit.conf never starts because it doesn't see net-device-up for
lo.  When I do:

sudo initctl emit --no-wait net-device-up IFACE=lo

then the container transitions to runlevel 'N 2'.

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-02 Thread Serge Hallyn
When I first created lxcguest, one of the main things it did was emit
that event.  Then we stopped having to, but the reasons were always a
bit too mysterious for me.

Assigning to stgraber as I *believe* he will know offhand what's going
on.  If not, please feel free to reassign to me.

** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) = Stéphane Graber (stgraber)

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

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/924337/+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 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-02 Thread Serge Hallyn
** Summary changed:

- lxc on precise is not working with lucid containers
+ lxc on precise is not working with lucid containers (container does not reach 
runlevel 2)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-02 Thread Serge Hallyn
rc-sysinit.conf never starts because it doesn't see net-device-up for
lo.  When I do:

sudo initctl emit --no-wait net-device-up IFACE=lo

then the container transitions to runlevel 'N 2'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 924337] Re: lxc on precise is not working with lucid containers (container does not reach runlevel 2)

2012-02-02 Thread Serge Hallyn
When I first created lxcguest, one of the main things it did was emit
that event.  Then we stopped having to, but the reasons were always a
bit too mysterious for me.

Assigning to stgraber as I *believe* he will know offhand what's going
on.  If not, please feel free to reassign to me.

** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) = Stéphane Graber (stgraber)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924337

Title:
  lxc on precise is not working with lucid containers (container does
  not reach runlevel 2)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs