OpenVZ Forum - RDF feed
type: channel
items: netns compilation
items: Re: netns compilation

netns compilation
type: item
description: 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 ? _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
creator: Daniel Lezcano
date: 2007-11-14T15:02:15-00:00

Re: netns compilation
type: item
description: 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 _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
creator: Pavel Emelianov
date: 2007-11-14T15:09:59-00:00

Re: netns compilation
type: item
description: Pavel Emelyanov <xemul@openvz.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 _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
creator: ebiederm
date: 2007-11-14T16:06:02-00:00