All of lore.kernel.org
 help / color / mirror / Atom feed
* netns compilation
@ 2007-11-14 15:02 Daniel Lezcano
       [not found] ` <473B0DF7.2050509-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Lezcano @ 2007-11-14 15:02 UTC (permalink / raw)
  To: Pavel Emelianov, Denis V. Lunev, Eric W. Biederman; +Cc: Linux Containers


Actually the CONFIG_NET_NS is depending on CONFIG_NET and !CONFIG_SYSFS

In order to disable CONFIG_SYSFS, I must specify CONFIG_EMBEDDED to have 
the choice to unset the sysfs.

Why don't we make CONFIG_NET_NS depends on CONFIG_NET and 
CONFIG_SYSFS_DEPRECATED ?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: netns compilation
       [not found] ` <473B0DF7.2050509-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
@ 2007-11-14 15:09   ` Pavel Emelyanov
       [not found]     ` <473B0FC7.6040900-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Emelyanov @ 2007-11-14 15:09 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: Linux Containers, Denis V. Lunev, Eric W. Biederman

Daniel Lezcano wrote:
> Actually the CONFIG_NET_NS is depending on CONFIG_NET and !CONFIG_SYSFS
> 
> In order to disable CONFIG_SYSFS, I must specify CONFIG_EMBEDDED to have 
> the choice to unset the sysfs.
> 
> Why don't we make CONFIG_NET_NS depends on CONFIG_NET and 
> CONFIG_SYSFS_DEPRECATED ?
> 

AFAIK the SYSFS_DEPRECATED hides the sysfs functionality (files)
that is not recommended to use, but doesn't disable the sysfs
filesystem as is. On the other hand the NET_NS doesn't require 
any deprecated sysfs files, it just can't work at all with the 
SYSFS turned on. 

That's why the things look like this.

Thanks,
Pavel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: netns compilation
       [not found]     ` <473B0FC7.6040900-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
@ 2007-11-14 16:06       ` Eric W. Biederman
  0 siblings, 0 replies; 3+ messages in thread
From: Eric W. Biederman @ 2007-11-14 16:06 UTC (permalink / raw)
  To: Pavel Emelyanov; +Cc: Linux Containers, Denis V. Lunev

Pavel Emelyanov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> writes:

> Daniel Lezcano wrote:
>> Actually the CONFIG_NET_NS is depending on CONFIG_NET and !CONFIG_SYSFS
>> 
>> In order to disable CONFIG_SYSFS, I must specify CONFIG_EMBEDDED to have 
>> the choice to unset the sysfs.
>> 
>> Why don't we make CONFIG_NET_NS depends on CONFIG_NET and 
>> CONFIG_SYSFS_DEPRECATED ?
>> 
>
> AFAIK the SYSFS_DEPRECATED hides the sysfs functionality (files)
> that is not recommended to use, but doesn't disable the sysfs
> filesystem as is. On the other hand the NET_NS doesn't require 
> any deprecated sysfs files, it just can't work at all with the 
> SYSFS turned on. 
>
> That's why the things look like this.

Exactly.  Once we get the sysfs support merged this restriction will go away
but until then attempting to register a two copies of the loopback device
with sysfs is fatal.

Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-14 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 15:02 netns compilation Daniel Lezcano
     [not found] ` <473B0DF7.2050509-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2007-11-14 15:09   ` Pavel Emelyanov
     [not found]     ` <473B0FC7.6040900-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-11-14 16:06       ` Eric W. Biederman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.