[Bug 1294284] Re: LXC Ubuntu containers do not start in Ubuntu 14.04

Juho Lehto keeperb5 at outlook.com
Sat Mar 22 11:15:37 UTC 2014


I may have solved the problem after re-installing the server.

Before upgrading to 14.04 I made sure to check if Ubuntu Saucy container
starts and it did. Then I upgraded to 14.04 and created new Ubuntu
Trusty container. Both Saucy and Trusty containers started properly,
although both output some errors which I believe is normal.

Then I started re-applying all the changes I had made previously before
re-install. A problem appeared after I edited fstab to add
nodev/noexec/nosuid mount options. I already knew that I couldn't use
noexec for /var, but now both Ubuntu containers refused to even try to
start if I had nodev and nosuid mount options for /var. Debian Wheezy
container does start even with nodev and nosuid mount options.

Before re-install I had created symlinks to point from /var/lib/lxc to
/srv/lxc and /srv did not have these mount options. This might explain
the difference in what happened when I started the containers before and
after re-install.

So apparently I can't use nodev and nosuid mount options for /var even
if I use another partition without these mount options by using
symlinks. Meanwhile, Debian containers worked all this time.

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

Title:
  LXC Ubuntu containers do not start in Ubuntu 14.04

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



More information about the Ubuntu-server-bugs mailing list