For the record, this is the broken-out shell script which should factorize 
init.d/unit/upstart job.
I tried to run " sudo mount --make-rprivate /" to work around that AA issue. 
Now "sudo ./lxc-net start" fails with

$ sudo lxc-start -n debci
lxc-start: Device or resource busy - failed to set memory.use_hierarchy to 1; 
continuing
lxc-start: Device or resource busy - failed to set memory.use_hierarchy to 1; 
continuing
lxc-start: Input/output error - error 5 creating 
/usr/lib/x86_64-linux-gnu/lxc/dev/lxc/console
lxc-start: failed to setup the console for 'debci'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'debci'

There is no /usr/lib/x86_64-linux-gnu/lxc/dev/, and no dmesg error any
more. strace:

25459 mkdir("/usr/lib/x86_64-linux-gnu/lxc/dev/lxc", 0755) = -1 EEXIST (File 
exists)
25459 unlink("/usr/lib/x86_64-linux-gnu/lxc/dev/console") = -1 ENOENT (No such 
file or directory)
25459 creat("/usr/lib/x86_64-linux-gnu/lxc/dev/lxc/console", 0660) = -1 EIO 
(Input/output error)

Apparently /usr/lib/x86_64-linux-gnu/lxc/dev/ is a private mount within
LXC?

** Attachment added: "lxc-net script"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1312532/+attachment/4100149/+files/lxc-net

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

Title:
  [systemd] Container startup fails on missing lxcbr0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1312532/+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