I tested it on a kernel with the FS_USERNS_MOUNT and USER_NS enabled, the problem persists. So it doesn't look like a bug of aufs, but still thanks for your help! Florian Am 30.09.2013 11:46, schrieb Florian Klink:
[[1]1]sf...@users.sourceforge.net: Florian Klink: I use Arch Linux (amd64) using the "zen-kernel" (tree on zen-kernel.org, linus' kernel plus some nice additional features like UKSM and aufs3). The package is called "linux-zen" in Arch Linux. Now I am installing Arch Linux... Just to test the kernel? You can get the location of the git tree and the default config from here: [2][2]https://aur.archlinux.org/packages/linux-zen/?setlang=en I hope the problem will automatically go away, when aufs supports user namespaces (as the remount will then happen only inside the namespace of the machine). I therefore mailed you a "git-compatible" patch of Bhushan Jain's changes a minute ago. Does it mean that FS_USERNS_MOUNT solved the problem? Are you sure? I tested the same on a kernel without enabled user namespaces and a loopback ext4 fs mounted on the location of the container root (no aufs involved), it also got remounted read-only. So it doesn't seem to be really a "bug of aufs". But I'm not yet sure how enabled FS_USERNS_MOUNT of the "root filesystem" will affect a remount of it inside an lxc container... I will build a kernel with enabled user namespaces, aufs FS_USERNS_MOUNT patch applied and will let you know how this one works. Florian J. R. Okajima References 1. [3]mailto:sf...@users.sourceforge.net 2. [4]https://aur.archlinux.org/packages/linux-zen/?setlang=en ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > [5]http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk References 1. mailto:1]sf...@users.sourceforge.net 2. https://aur.archlinux.org/packages/linux-zen/?setlang=en 3. mailto:sf...@users.sourceforge.net 4. https://aur.archlinux.org/packages/linux-zen/?setlang=en 5. http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk