[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2016-02-18 Thread Stéphane Graber
** No longer affects: lxc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293549 Title: Filesystem mount from lxc template causes filesystem permission breakages To manage notifications about

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-07-04 Thread Stuart Bishop
** Changed in: postgresql (Juju Charms Collection) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293549 Title: Filesystem mount from lxc template causes filesystem

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-20 Thread Curtis Hovey
** Changed in: juju-core Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293549 Title: Filesystem mount from lxc template causes filesystem permission

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-19 Thread Tim Penhey
** Changed in: juju-core Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293549 Title: Filesystem mount from lxc template causes filesystem permission

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-18 Thread Andy Whitcroft
A naieve test of aufs directly shows that chown and chmod do cause a copy up of the underlying files as expected. In the read only layer before chmod/chown: drwxrwxr-x 2 apw apw 4096 Mar 18 09:16 D1 drwxrwxr-x 2 apw apw 4096 Mar 18 09:16 D2 drwxrwxr-x 2 apw apw 4096 Mar 18 09:16 D3 In the

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-18 Thread Andy Whitcroft
Ok a more refined reproducer shows that this is an issue triggered by different permissions on the various layers. Although the directory is reported correctly the permissions for each layer are used on that layer to control who can actually see the contents of the directory. If you cannot rx

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-17 Thread Serge Hallyn
Thanks, that is a great reproducer. Note that doing rm -rf /etc/ssl/private mkdir /etc/ssl/private works around this, and explains why this *may* in fact be on purpose. If you only do sudo chown ubuntu:ubuntu /etc/ssl/private then the underlying directory is still owned by root and

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-17 Thread Serge Hallyn
@Tim, is rmdir/mkdir an acceptable workaround for juju (ie can we lower priority of the bug) or will that not be doable? ** Changed in: lxc Status: New = Confirmed ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed ** Changed in: linux (Ubuntu) Importance: Undecided

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-17 Thread Adam Conrad
17:07 infinity hallyn: Well, that certainly shouldn't change the permissions on the underlying dir, as that's immutable. 17:07 infinity hallyn: But copying up, changing permissions, and using that copy would seem sane. -- You received this bug notification because you are a member of Ubuntu

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-17 Thread Tim Penhey
@Serge, while it may be a work around for some, it certainly is going to be a problem in the big picture. We are running code written by others (juju hooks). I'm going to submit a branch to juju to disable aufs by default, but enable the setting so people can try it out. ** Branch linked:

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-17 Thread Tim Penhey
or a chown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293549 Title: Filesystem mount from lxc template causes filesystem permission breakages To manage notifications about this bug go to:

[Bug 1293549] Re: Filesystem mount from lxc template causes filesystem permission breakages

2014-03-17 Thread Tim Penhey
Shouldn't aufs catch a chmod to a directory that isn't in the delta and copy it across? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1293549 Title: Filesystem mount from lxc template causes