Re: [RFC][PATCH 0/7] Clone PTS namespace

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Wednesday, April 9, 2008 - 3:15 pm

On Tue, 2008-04-08 at 17:53 -0700, H. Peter Anvin wrote:

In short application migration.  When you move a running applicaiton
from one machine to another you want to be able to keep the same pseudo
devices.

The isolation that you have noticed is also an important application and
like the rest of the namespaces if we can solve the duplicate identifier
problem needed to restore checkpoints we also largely solve the
isolation problem.

This problem is much larger then ptys.  ptys are the really in your face
aspect of it.  There are a more pseudo devices in the kernel and it is
the device number to device mapping that we are abstracting.  So this
really should be done as a device namespace not a pty namespace.

I would be happy if the first version of the device namespace could not
map anything but pty's (assuming an incremental implementation path).  I
really don't think we should do a special case for each kind of device.

Oh and just skimming the patch summary I'm pretty certain this
implementation breaks /sys/class/tty/ptyXX/uevent.  Which is another
reason why it would be good to have a single device namespace.  So we
only to capture one more namespace and figure out how to deal with it
when mounting sysfs. 

Eric

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 0/7] Clone PTS namespace, sukadev, (Tue Apr 8, 2:53 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, H. Peter Anvin, (Tue Apr 8, 5:53 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, sukadev, (Wed Apr 9, 9:23 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, H. Peter Anvin, (Wed Apr 9, 11:01 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, serge, (Wed Apr 9, 12:16 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Eric W. Biederman, (Wed Apr 9, 3:15 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, H. Peter Anvin, (Wed Apr 9, 3:38 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Serge E. Hallyn, (Wed Apr 9, 6:59 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Eric W. Biederman, (Thu Apr 10, 12:36 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Serge E. Hallyn, (Thu Apr 10, 9:44 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, sukadev, (Thu Apr 10, 1:58 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Serge E. Hallyn, (Tue Apr 22, 7:25 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Eric W. Biederman, (Tue Apr 22, 11:53 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Serge E. Hallyn, (Wed Apr 23, 7:36 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Serge E. Hallyn, (Wed Apr 23, 10:57 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Eric W. Biederman, (Wed Apr 23, 11:49 am)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Serge E. Hallyn, (Fri Apr 25, 12:21 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Eric W. Biederman, (Fri Apr 25, 12:47 pm)
Re: [RFC][PATCH 0/7] Clone PTS namespace, Serge E. Hallyn, (Sat Apr 26, 6:02 am)