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

Reply via email to