]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-ubuntu: don't put devpts in $confdir/container/fstab
authorSerge Hallyn <serge.hallyn@canonical.com>
Sun, 24 Jul 2011 22:22:50 +0000 (00:22 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Sun, 24 Jul 2011 22:22:50 +0000 (00:22 +0200)
commitc440536e7c4cc4836aca2cf3421509aaa8db2365
tree8110d4af42216e00bc601ad7a10e223f5d9e5eb9
parente7eb632cb4365d800939ab20021920468c1ce7db
lxc-ubuntu: 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.

Note - I messed up.  This was applied upstream, but I dropped it in
subsequent conversion to lxc-ubuntu template.  It therefore needs to
be reapplied.

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