From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl-Daniel Hailfinger Subject: Re: [PATCH 2/4] sysfs: Implement sysfs manged shadow directory support. Date: Fri, 27 Jul 2007 22:59:30 +0200 Message-ID: <46AA5CB2.9090900@gmx.net> References: <1182446577.8138.29.camel@localhost> <20070621211637.GB10583@suse.de> <20070622001328.GA14113@suse.de> <20070625212339.GA13398@kroah.com> <46A3B449.3090409@gmail.com> <20070722202508.GA18018@suse.de> <46A85485.40502@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46A85485.40502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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: Tejun Heo Cc: Linux Containers , Greg KH , Dave Hansen , "Eric W. Biederman" List-Id: containers.vger.kernel.org Hi, On 26.07.2007 10:00, Tejun Heo wrote: > Okay, some questions. > > * What do you think about not allowing duplicate names across different > tags? ie. there's only one ethX anywhere but it's visible only in a > specific namespace (and maybe in the default global one). Or does > everyone need its own eth0. If this is acceptable, the problem becomes > _much_ simpler. Duplicating names across different namespaces (eth0 for everyone) is a feature which allows me to use a very similar configurations for different namespaces. There's also a security argument saying that one namespace shouldn't be able to infer information about other namespaces. If an interface name must not be reused across namespaces you can enumerate the obvious interface name list from any namespace and find out which interface names are used by other namespaces. I'm not suggesting that this argument is valid, but it needs to be considered and if we decide it is invalid, we should document why. Regards, Carl-Daniel