Re: [Lxc-users] [PATCH 2/3] lxc-ubuntu: don't put devpts in $confdir/container/fstab

2011-07-24 Thread Daniel Lezcano
On 07/13/2011 01:24 AM, Serge Hallyn wrote:
 From: Serge Hallyn serge.hal...@canonical.com

 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.hal...@canonical.com
 ---
Applied.

--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


[Lxc-users] [PATCH 2/3] lxc-ubuntu: don't put devpts in $confdir/container/fstab

2011-07-12 Thread Serge Hallyn
From: Serge Hallyn serge.hal...@canonical.com

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.hal...@canonical.com
---
 templates/lxc-ubuntu.in |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 439e1d0..2934dc1 100644
--- a/templates/lxc-ubuntu.in
+++ b/templates/lxc-ubuntu.in
@@ -198,7 +198,6 @@ EOF
 
 cat EOF  $path/fstab
 proc$rootfs/proc procnodev,noexec,nosuid 0 0
-devpts  $rootfs/dev/pts  devpts defaults 0 0
 sysfs   $rootfs/sys  sysfs defaults  0 0
 EOF
 
-- 
1.7.4.1


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users