Bug#805845: mount --move broken
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Control: reassign -1 linux So it seems the problem is that systemd makes the root shared by default, and mounts can only be moved if the parent mount is private. Running mount --make-private fixes the issue. I'm still not sure why the kernel can't move mounts in a shared namespac e. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBCgAGBQJWWOeqAAoJEBB5UWFcu6UWFkQH/iSdiLHoHEc5tv0z/OdeXo+w 1Oa3mgh7EJb9qlxTD2B/aE+atFW4jBW8smeMyunytvvUTH67EeVgE2aS89QdaenK zd732/5m1zP92GpqUNkScdpwc5V/oZ7nFbttYoy2H3Ccq9rO59SRSuzSPfi+F8gk j1ZGN0M73+MQ2luo/9EJhfpX0n7jNm+NEzR5Ief5BRSAWP0Lw0junYmvttMZsSpQ RIuRIo1TzJQ4XYP5v2fp8t9moHozEw/wFKyGL0/ZVTtMVb3dNrRLle2XlzI3FWQK 8m3JoJ4Q7dHwIDi4HBfgn63VkOZZq9pWttM9yI9M9qPkXw79KVkBtNi2P4Tb1Jg= =JJg/ -END PGP SIGNATURE-
Bug#805845: mount --move broken
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Package: util-linux Version: 2.25.2-6 Control: affects -1 +udisks2 +gparted gparted runs udisks2-inhibit, which runs mount --move /a /b, and this fails with "mount: bad option...". Manually running mount --move /a /b ( where /a is a tmpfs mount and /b is a directory ) likewise fails. Running mount --bind /a /b, then umount /a works however. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBCgAGBQJWUmptAAoJEBB5UWFcu6UWhmEH/1dCLGXsWFElNLOvRLDF3q4L M9DL6TzZDX5PPN2GdKswuGLEhgbAaMufz2wLxo8/UpBKGpA9WrbfsciCVWTyGOFl Y2ze/TPUa3ZfyWC3y1QCDSAqT1EIPKGHPsTjBfUaMXoM0qo0J5j95EuCT/b/K9hi bCNGsNTjQej65F7ctwmkUGD8ZI/F3qO7r8tcwTIISmJ1M3uMLVaLl6Oz4+jRC/vN 1uU8IWoUoAUkgPWeFzawZQ1otZixhsccZrdRElpR9XCrRntR68/ufHoemOE0fQ8A 3Uv092g2zMXfKjxW3X9OEjLvyWQBKWG5HbKJpyIvF2iHdUmg5nx9hUUANhtMqNc= =gSG/ -END PGP SIGNATURE-
Bug#805845: mount --move broken
Hello Phillip Susi. Thanks for your bug report. On Sun, Nov 22, 2015 at 08:23:02PM -0500, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Package: util-linux > Version: 2.25.2-6 > Control: affects -1 +udisks2 +gparted > > gparted runs udisks2-inhibit, which runs mount --move /a /b, and this > fails with "mount: bad option...". Full error message + strace would be useful. > > Manually running mount --move /a /b ( where /a is a tmpfs mount and /b > is a directory ) likewise fails. Running mount --bind /a /b, then > umount /a works however. Thanks for testing directly. I'm for now assuming that the mount syscall returns EINVAL. The reason for this probably needs to be investigated inside the kernel. Regards, Andreas Henriksson