[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Bug watch added: Linux Kernel Bug Tracker #24912 http://bugzilla.kernel.org/show_bug.cgi?id=24912 ** Also affects: linux via http://bugzilla.kernel.org/show_bug.cgi?id=24912 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/712892/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Changed in: util-linux-ng Status: New = 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/712892 Title: mount (silently) ignores options for bind mounts To manage notifications about this bug go to: https://bugs.launchpad.net/util-linux-ng/+bug/712892/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Changed in: util-linux (Ubuntu) Importance: Undecided = Medium ** No longer affects: linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts To manage notifications about this bug go to: https://bugs.launchpad.net/util-linux-ng/+bug/712892/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Changed in: util-linux (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
Thank you for taking the time to open a thorough bug report and also submit a patch. I can't personally think of any fallout of the suggested changes, but it does seem that it would be best to run this behavior by upstream first, and there have been other discussions on such changes [1]. That discussion at least resulted in a warning that the warning you show above. I think it would be probably best to post this upstream and see what their response is. Upstream has mailing list info at [2]. -- [1] http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2771 [2] http://userweb.kernel.org/~kzak/util-linux-ng/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 712892] Re: mount (silently) ignores options for bind mounts
On Fri, 18 Mar 2011 20:05:19 - Scott Moser smo...@canonical.com wrote: I think it would be probably best to post this upstream and see what their response is. Upstream has mailing list info at [2]. i thought so too. this is what karel said: I'm still not sure if mount(8) is the right place to fix odd kernel behaviour. Anyway, your patch seems like a usable workaround. I'll try to apply the patch later (it will necessary to modify libmount, because the library is not able to add a new entry to mtab for MS_REMOUNT requests). http://marc.info/?l=util-linux-ngm=129827998111793w=2 maybe on could convince the kernel guys to think over the underlying problem, but i don't have enough insights to do a good enough bug report and argue with them. i skimmed through the kernel's mounting source, but it's not as easy understandable as mount itself :) maybe someone at canoncial could try? -- lg, ameno -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Bug watch added: Debian Bug tracker #441375 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441375 ** Also affects: util-linux-ng via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441375 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
i hacked together a patch that retries to bind mount once with MS_REMOUNT added to the flags instead of printing out the warning. it seems to work, but i don't have the insights if it may break anything. with this it is possible to bind mount a directory in fstab with options bind,ro, as well as mounting it on the command line in one line (without remount,ro). it does not address other issues mentioned in my original report. jones please comment! thanks ** Patch added: ro-retry.patch https://bugs.launchpad.net/util-linux-ng/+bug/712892/+attachment/1828697/+files/ro-retry.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 712892] Re: mount (silently) ignores options for bind mounts
** Changed in: util-linux-ng Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/712892 Title: mount (silently) ignores options for bind mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs