]> git.ipfire.org Git - thirdparty/lxc.git/commit
templates: don't put devpts in $confdir/container/fstab
authorDaniel Lezcano <daniel.lezcano@free.fr>
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)
commited57edc0ad52692272cab13e132bd58fc9635ea5
tree22569b5c5ed23a0c45e52e18914fb466ddea16ec
parentc6a46e86d4befbed2b35cb7fb97053fe6da8c8ab
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.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-debian.in
templates/lxc-fedora.in
templates/lxc-lenny.in