From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [RFC] fix devpts mount behavior Date: Tue, 24 Jan 2012 15:35:19 -0800 Message-ID: References: <20120124000517.GA28878@sergelap> <20120124002555.GA29534@sergelap> <20120124010758.GJ23916@ZenIV.linux.org.uk> <20120124220247.GA26353@hallyn.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120124220247.GA26353-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org> (Serge E. Hallyn's message of "Tue, 24 Jan 2012 22:02:47 +0000") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Serge E. Hallyn" Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Dave Hansen , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Al Viro , Andy Whitcroft , sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, Linus Torvalds List-Id: containers.vger.kernel.org "Serge E. Hallyn" writes: >> For testing I would recommend looking at the distro chroot build cases. > > Do you have a specific example in mind? I would expect build chroots > generally don't mount a devpts. I was thinking of mock on fedora. I think other distros have something similar. mock is sufficient to test programs in so it probably has a /dev/pts somewhere. Mostly though I was trying to think of cases where this would matter. Eric From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753456Ab2AXXcs (ORCPT ); Tue, 24 Jan 2012 18:32:48 -0500 Received: from out01.mta.xmission.com ([166.70.13.231]:59038 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753129Ab2AXXcr (ORCPT ); Tue, 24 Jan 2012 18:32:47 -0500 From: ebiederm@xmission.com (Eric W. Biederman) To: "Serge E. Hallyn" Cc: Al Viro , containers@lists.linux-foundation.org, Dave Hansen , linux-kernel@vger.kernel.org, Andy Whitcroft , sukadev@linux.vnet.ibm.com, Linus Torvalds Subject: Re: [RFC] fix devpts mount behavior References: <20120124000517.GA28878@sergelap> <20120124002555.GA29534@sergelap> <20120124010758.GJ23916@ZenIV.linux.org.uk> <20120124220247.GA26353@hallyn.com> Date: Tue, 24 Jan 2012 15:35:19 -0800 In-Reply-To: <20120124220247.GA26353@hallyn.com> (Serge E. Hallyn's message of "Tue, 24 Jan 2012 22:02:47 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-XM-SPF: eid=;;;mid=;;;hst=in02.mta.xmission.com;;;ip=98.207.153.68;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19Ac1YrRV2NnBcEK76H10wgdVGzJSMpIOc= X-SA-Exim-Connect-IP: 98.207.153.68 X-SA-Exim-Mail-From: ebiederm@xmission.com X-SA-Exim-Scanned: No (on in02.mta.xmission.com); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Serge E. Hallyn" writes: >> For testing I would recommend looking at the distro chroot build cases. > > Do you have a specific example in mind? I would expect build chroots > generally don't mount a devpts. I was thinking of mock on fedora. I think other distros have something similar. mock is sufficient to test programs in so it probably has a /dev/pts somewhere. Mostly though I was trying to think of cases where this would matter. Eric