]> 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:33:33 +0000 (01:33 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 6 May 2011 23:33:33 +0000 (01:33 +0200)
commitf2b2ec3160452acb017c75a527e3cd9e079bd91a
treed36eaeb38a89868b14efbe3b7ab8b5cfd5faf90a
parentdfafa5a51397b4d3ced980ca80340f383701f823
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