Re: [PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-09-15 Thread Eric W. Biederman
Dmitry Torokhov writes: > On Mon, Aug 29, 2016 at 5:38 AM, Eric W. Biederman > wrote: >> David Miller writes: >> >>> From: Dmitry Torokhov >>> Date: Tue, 16 Aug 2016 15:33:10 -0700 >>> There are objects in /sys hierarchy (/sys/class/net/) that logically belong to a namespace/containe

Re: [PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-09-14 Thread Dmitry Torokhov
On Mon, Aug 29, 2016 at 5:38 AM, Eric W. Biederman wrote: > David Miller writes: > >> From: Dmitry Torokhov >> Date: Tue, 16 Aug 2016 15:33:10 -0700 >> >>> There are objects in /sys hierarchy (/sys/class/net/) that logically belong >>> to a namespace/container. Unfortunately all sysfs objects st

Re: [PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-08-29 Thread Eric W. Biederman
David Miller writes: > From: Dmitry Torokhov > Date: Tue, 16 Aug 2016 15:33:10 -0700 > >> There are objects in /sys hierarchy (/sys/class/net/) that logically belong >> to a namespace/container. Unfortunately all sysfs objects start their life >> belonging to global root, and while we could chan

Re: [PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-08-22 Thread Dmitry Torokhov
On Sun, Aug 21, 2016 at 11:41:39PM -0700, David Miller wrote: > From: Dmitry Torokhov > Date: Tue, 16 Aug 2016 15:33:10 -0700 > > > There are objects in /sys hierarchy (/sys/class/net/) that logically belong > > to a namespace/container. Unfortunately all sysfs objects start their life > > belong

Re: [PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-08-21 Thread David Miller
From: Dmitry Torokhov Date: Tue, 16 Aug 2016 15:33:10 -0700 > There are objects in /sys hierarchy (/sys/class/net/) that logically belong > to a namespace/container. Unfortunately all sysfs objects start their life > belonging to global root, and while we could change ownership manually, > keepin

Re: [PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-08-19 Thread David Miller
From: Dmitry Torokhov Date: Tue, 16 Aug 2016 15:33:10 -0700 > There are objects in /sys hierarchy (/sys/class/net/) that logically belong > to a namespace/container. Unfortunately all sysfs objects start their life > belonging to global root, and while we could change ownership manually, > keepin

[PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-08-16 Thread Dmitry Torokhov
There are objects in /sys hierarchy (/sys/class/net/) that logically belong to a namespace/container. Unfortunately all sysfs objects start their life belonging to global root, and while we could change ownership manually, keeping tracks of all objects that come and go is cumbersome. It would be be