* [PATCH 1/1] templates: don't put devpts in $confdir/container/fstab
@ 2011-05-06 17:05 Serge E. Hallyn
[not found] ` <20110506170516.GA20670-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2011-05-06 17:05 UTC (permalink / raw)
To: Daniel Lezcano, Linux Containers; +Cc: stgraber-GeWIH/nMZzLQT0dZR+AlfA
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-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
---
templates/lxc-lucid.in | 1 -
templates/lxc-maverick.in | 1 -
templates/lxc-natty.in | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/templates/lxc-lucid.in b/templates/lxc-lucid.in
index fb5aa6f..fe61313 100644
--- a/templates/lxc-lucid.in
+++ b/templates/lxc-lucid.in
@@ -260,7 +260,6 @@ EOF
cat <<EOF > $path/fstab
proc $rootfs/proc proc nodev,noexec,nosuid 0 0
-devpts $rootfs/dev/pts devpts defaults 0 0
sysfs $rootfs/sys sysfs defaults 0 0
EOF
diff --git a/templates/lxc-maverick.in b/templates/lxc-maverick.in
index a85a6ca..0a8ac8e 100644
--- a/templates/lxc-maverick.in
+++ b/templates/lxc-maverick.in
@@ -183,7 +183,6 @@ EOF
cat <<EOF > $path/fstab
proc $rootfs/proc proc nodev,noexec,nosuid 0 0
-devpts $rootfs/dev/pts devpts defaults 0 0
sysfs $rootfs/sys sysfs defaults 0 0
EOF
diff --git a/templates/lxc-natty.in b/templates/lxc-natty.in
index c71596e..e7e3859 100644
--- a/templates/lxc-natty.in
+++ b/templates/lxc-natty.in
@@ -184,7 +184,6 @@ EOF
cat <<EOF > $path/fstab
proc $rootfs/proc proc nodev,noexec,nosuid 0 0
-devpts $rootfs/dev/pts devpts defaults 0 0
sysfs $rootfs/sys sysfs defaults 0 0
EOF
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] templates: don't put devpts in $confdir/container/fstab
[not found] ` <20110506170516.GA20670-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
@ 2011-05-06 23:36 ` Daniel Lezcano
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2011-05-06 23:36 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: Linux Containers, stgraber-GeWIH/nMZzLQT0dZR+AlfA
On 05/06/2011 07:05 PM, Serge E. Hallyn wrote:
> 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.
>
Applied and update debian and fedora templates.
Thanks Serge
-- Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-06 23:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 17:05 [PATCH 1/1] templates: don't put devpts in $confdir/container/fstab Serge E. Hallyn
[not found] ` <20110506170516.GA20670-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2011-05-06 23:36 ` Daniel Lezcano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.