Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-28 Thread Ian Kent
On Fri, 2016-09-23 at 20:00 +0800, Ian Kent wrote: > On Fri, 2016-09-23 at 12:26 +0800, Ian Kent wrote: > > On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > > > Ian

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-27 Thread Ian Kent
On Tue, 2016-09-27 at 08:14 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Mon, 2016-09-26 at 11:05 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > On Fri, 2016-09-23 at 14:15 -0500, Eric W. Biederman wrote: > > > > > Ian

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-27 Thread Eric W. Biederman
Ian Kent writes: > On Mon, 2016-09-26 at 11:05 -0500, Eric W. Biederman wrote: >> Ian Kent writes: >> >> > On Fri, 2016-09-23 at 14:15 -0500, Eric W. Biederman wrote: >> > > Ian Kent writes: >> > > >> > > 2> On Thu, 2016-09-22 at 20:37

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-26 Thread Ian Kent
On Mon, 2016-09-26 at 11:05 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Fri, 2016-09-23 at 14:15 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > 2> On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > > > > > Ian

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-26 Thread Eric W. Biederman
Ian Kent writes: > On Fri, 2016-09-23 at 14:15 -0500, Eric W. Biederman wrote: >> Ian Kent writes: >> >> 2> On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: >> > > Ian Kent writes: >> > > >> > > > On Thu, 2016-09-22 at 10:43

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-23 Thread Ian Kent
On Fri, 2016-09-23 at 14:15 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > 2> On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > > > Ian

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-23 Thread Eric W. Biederman
Ian Kent writes: 2> On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: >> Ian Kent writes: >> >> > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: >> > > Ian Kent writes: >> > > >> > > > Eric, Mateusz, I appreciate

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-23 Thread Ian Kent
On Fri, 2016-09-23 at 12:26 +0800, Ian Kent wrote: > On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > > Ian Kent writes: > > > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > > Ian Kent writes: > > > > > > > > > Eric,

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Ian Kent
On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > Eric, Mateusz, I appreciate your spending time on this and particularly > >

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Eric W. Biederman
Ian Kent writes: > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: >> Ian Kent writes: >> >> > Eric, Mateusz, I appreciate your spending time on this and particularly >> > pointing >> > out my embarrassingly stupid is_local_mountpoint() usage

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Ian Kent
On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > Eric, Mateusz, I appreciate your spending time on this and particularly > > pointing > > out my embarrassingly stupid is_local_mountpoint() usage mistake. > > > > Please accept my apology for

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-22 Thread Eric W. Biederman
Ian Kent writes: > Eric, Mateusz, I appreciate your spending time on this and particularly > pointing > out my embarrassingly stupid is_local_mountpoint() usage mistake. > > Please accept my apology for the inconvenience. > > If all goes well (in testing) I'll have follow up

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-21 Thread Ian Kent
On Wed, 2016-09-21 at 07:00 +0800, Ian Kent wrote: > On Wed, 2016-09-21 at 06:44 +0800, Ian Kent wrote: > > On Tue, 2016-09-20 at 11:50 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > On Sat, 2016-09-17 at 22:10 +0200, Mateusz Guzik wrote: > > > > > On Wed,

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-20 Thread Ian Kent
On Wed, 2016-09-21 at 06:44 +0800, Ian Kent wrote: > On Tue, 2016-09-20 at 11:50 -0500, Eric W. Biederman wrote: > > Ian Kent writes: > > > > > On Sat, 2016-09-17 at 22:10 +0200, Mateusz Guzik wrote: > > > > On Wed, Sep 14, 2016 at 02:14:45PM +0800, Ian Kent wrote: > > > > > If

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-20 Thread Ian Kent
On Tue, 2016-09-20 at 11:50 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Sat, 2016-09-17 at 22:10 +0200, Mateusz Guzik wrote: > > > On Wed, Sep 14, 2016 at 02:14:45PM +0800, Ian Kent wrote: > > > > If an automount mount is clone(2)ed into a file system that is >

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-20 Thread Eric W. Biederman
Ian Kent writes: > On Sat, 2016-09-17 at 22:10 +0200, Mateusz Guzik wrote: >> On Wed, Sep 14, 2016 at 02:14:45PM +0800, Ian Kent wrote: >> > If an automount mount is clone(2)ed into a file system that is >> > propagation private, when it later expires in the originating >> >

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-20 Thread Eric W. Biederman
Ian Kent writes: > On Fri, 2016-09-16 at 10:58 +0800, Ian Kent wrote: >> On Thu, 2016-09-15 at 19:47 -0500, Eric W. Biederman wrote: >> > Ian Kent writes: >> > >> > > On Wed, 2016-09-14 at 21:08 -0500, Eric W. Biederman wrote: >> > > > Ian Kent

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-18 Thread Ian Kent
On Sat, 2016-09-17 at 22:10 +0200, Mateusz Guzik wrote: > On Wed, Sep 14, 2016 at 02:14:45PM +0800, Ian Kent wrote: > > If an automount mount is clone(2)ed into a file system that is > > propagation private, when it later expires in the originating > > namespace subsequent calls to autofs

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-18 Thread Ian Kent
On Fri, 2016-09-16 at 10:58 +0800, Ian Kent wrote: > On Thu, 2016-09-15 at 19:47 -0500, Eric W. Biederman wrote: > > Ian Kent writes: > > > > > On Wed, 2016-09-14 at 21:08 -0500, Eric W. Biederman wrote: > > > > Ian Kent writes: > > > > > > > > > On Wed,

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-17 Thread Mateusz Guzik
On Wed, Sep 14, 2016 at 02:14:45PM +0800, Ian Kent wrote: > If an automount mount is clone(2)ed into a file system that is > propagation private, when it later expires in the originating > namespace subsequent calls to autofs ->d_automount() for that > dentry in the original namespace will return

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-16 Thread Omar Sandoval
On Wed, Sep 14, 2016 at 02:14:45PM +0800, Ian Kent wrote: > If an automount mount is clone(2)ed into a file system that is > propagation private, when it later expires in the originating > namespace subsequent calls to autofs ->d_automount() for that > dentry in the original namespace will return

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-15 Thread Ian Kent
On Thu, 2016-09-15 at 19:47 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Wed, 2016-09-14 at 21:08 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: > > > > > Ian

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-15 Thread Eric W. Biederman
Ian Kent writes: > On Wed, 2016-09-14 at 21:08 -0500, Eric W. Biederman wrote: >> Ian Kent writes: >> >> > On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: >> > > Ian Kent writes: >> > > >> > > > If an automount mount is

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-15 Thread Ian Kent
On Thu, 2016-09-15 at 12:12 +0800, Ian Kent wrote: > On Wed, 2016-09-14 at 21:08 -0500, Eric W. Biederman wrote: > > Ian Kent writes: > > > > > On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: > > > > Ian Kent writes: > > > > > > > > > If an

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-14 Thread Ian Kent
On Wed, 2016-09-14 at 21:08 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > If an automount mount is clone(2)ed into a file system that is > > > >

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-14 Thread Eric W. Biederman
Ian Kent writes: > On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: >> Ian Kent writes: >> >> > If an automount mount is clone(2)ed into a file system that is >> > propagation private, when it later expires in the originating >> > namespace

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-14 Thread Ian Kent
On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > If an automount mount is clone(2)ed into a file system that is > > propagation private, when it later expires in the originating > > namespace subsequent calls to autofs ->d_automount() for

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-14 Thread Omar Sandoval
On Thu, Sep 15, 2016 at 08:09:23AM +0800, Ian Kent wrote: > On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: > > Ian Kent writes: > > > > > If an automount mount is clone(2)ed into a file system that is > > > propagation private, when it later expires in the

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-14 Thread Ian Kent
On Wed, 2016-09-14 at 12:28 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > > If an automount mount is clone(2)ed into a file system that is > > propagation private, when it later expires in the originating > > namespace subsequent calls to autofs ->d_automount() for

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-14 Thread Eric W. Biederman
Ian Kent writes: > If an automount mount is clone(2)ed into a file system that is > propagation private, when it later expires in the originating > namespace subsequent calls to autofs ->d_automount() for that > dentry in the original namespace will return ELOOP until the >

[PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-14 Thread Ian Kent
If an automount mount is clone(2)ed into a file system that is propagation private, when it later expires in the originating namespace subsequent calls to autofs ->d_automount() for that dentry in the original namespace will return ELOOP until the mount is manually umounted in the cloned