]> git.ipfire.org Git - thirdparty/lxc.git/commit
templates: don't put devpts in $confdir/container/fstab
authorSerge E. Hallyn <serge@hallyn.com>
Fri, 6 May 2011 23:32:19 +0000 (01:32 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 6 May 2011 23:32:19 +0000 (01:32 +0200)
commitc6a46e86d4befbed2b35cb7fb97053fe6da8c8ab
tree949aeb4829b0a577430d071f6eca242e6fc6dc0e
parent434d05fc6a8f38c29606780fab9df4fa3706fc25
templates: don't put devpts in $confdir/container/fstab

src/lxc/conf.c will explicitly mount it anyway.  Furthermore, the fstab
entry, which is getting processed first, did not specify -o newinstance.
This can cause the host's devpts entry mount options to change, as in
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/607636.

I believe the lenny, fedora, and debian templates also will need an
update.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-lucid.in
templates/lxc-maverick.in
templates/lxc-natty.in