Re: Per-instance devpts

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Eric W. Biederman <ebiederm@...>, Greg KH <greg@...>, <linux-kernel@...>, Containers <containers@...>, Alan Cox <alan@...>, Pavel Emelyanov <xemul@...>
Date: Saturday, August 2, 2008 - 4:54 am

On Fri, Aug 01, 2008 at 11:12:21AM -0700, H. Peter Anvin wrote:

On Debian based systems /dev/ptmx is 0666 root.root.  But the gid of tty
is already supplied for devpts.


Hmm. Several possibilities:
- Change the filesysteme name and the old name remains usable with
  /dev/ptmx.
  Problem: You could mount the filesystem with the old name within a
  container.
- Make the first mounted one special. 
  Problem: Will not survive a umount/mount cycle. But this would be not
  the case anyway.

But you are sure, none of them is a pretty solution.

Bastian

-- 
I'm a soldier, not a diplomat.  I can only tell the truth.
		-- Kirk, "Errand of Mercy", stardate 3198.9
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/4] Helper patches for PTY namespaces, Eric W. Biederman, (Sat Apr 12, 3:06 pm)
Per-instance devpts, H. Peter Anvin, (Fri Aug 1, 2:12 pm)
Re: Per-instance devpts, , (Sun Aug 3, 1:08 am)
Re: Per-instance devpts, Alan Cox, (Sun Aug 3, 8:04 am)
Re: Per-instance devpts, , (Sun Aug 3, 1:46 pm)
Re: Per-instance devpts, Alan Cox, (Sun Aug 3, 1:54 pm)
Re: Per-instance devpts, H. Peter Anvin, (Sun Aug 3, 7:31 am)
Re: Per-instance devpts, Bastian Blank, (Sat Aug 2, 4:54 am)
Re: Per-instance devpts, Dave Hansen, (Fri Aug 1, 3:23 pm)
Re: Per-instance devpts, H. Peter Anvin, (Fri Aug 1, 3:37 pm)
Re: Per-instance devpts, Al Viro, (Fri Aug 1, 3:35 pm)
Re: [PATCH 0/4] Helper patches for PTY namespaces, Serge E. Hallyn, (Sat Apr 12, 8:59 pm)
Multiple instances of devpts, H. Peter Anvin, (Sat Apr 12, 2:54 pm)
Re: Multiple instances of devpts, Eric W. Biederman, (Sat Apr 12, 3:15 pm)
Re: Multiple instances of devpts, H. Peter Anvin, (Sat Apr 12, 3:24 pm)
Re: Multiple instances of devpts, H. Peter Anvin, (Sat Apr 12, 3:30 pm)
Re: [PATCH 0/4] Helper patches for PTY namespaces, H. Peter Anvin, (Sat Apr 12, 2:09 pm)