lkml.org 
[lkml]   [2012]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] fix devpts mount behavior
On Mon, Jan 23, 2012 at 04:13:49PM -0800, Linus Torvalds wrote:
> On Mon, Jan 23, 2012 at 4:05 PM, Serge Hallyn
> <serge.hallyn@canonical.com> wrote:
> >
> > I've been playing for the last week with ways to fix this, and in the
> > end I can see two ways.
>
> How about a third way:
>
> - make "newinstance" mandatory (and "-o newinstance" is a no-op) and
> forget about the whole issue.
>
> - if you really want to remount the old global one, you have to use a
> bind mount of that original mount instead.
>
> There may be some subtle reason why the above is totally broken and
> just fundamnetally wouldn't work, and breaks all existing setups, but
> maybe it's worth at least discussing as an option?

Hell knows... That's certainly what I would have prefered, but I wonder
about existing practices along the lines of "mount it in chroot jail
from inside that jail" (as opposed to mount --bind /dev/pts /jail/dev/pts
while preparing it).

Posted patch is too ugly to live and as for the new kind of namespace...
yuck. We already have far too many :-/


\
 
 \ /
  Last update: 2012-01-24 01:29    [W:0.210 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site