[Bug 519380] Re: remounts don't work with mountall
Steve Langasek
steve.langasek at canonical.com
Sat May 19 06:59:11 UTC 2012
*** This bug is a duplicate of bug 503003 ***
https://bugs.launchpad.net/bugs/503003
** This bug has been marked a duplicate of bug 503003
multiple entries in fstab with same mount-point
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/519380
Title:
remounts don't work with mountall
Status in “mountall” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: mountall
Hi,
the context:
to have the noexec or nosuid applied on a --bind mount, you need to do
it in two steps (one may argue that mount(8) is broken in that way):
mount --bind /here /there
mount -o remount,noexec /there
(mount --bind -o noexec /here /there won't work).
So, in /etc/fstab, you've got to write it:
/here /there none bind 0 0
remount-there /there none remount,noexec 0 0
However the above doesn't work with mountall.
It does work with "mount -a" so it seems it's a regression from pre-
mountall ubuntu releases.
The problem occurs both on karmic and lucid (2.4):
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/519380/+subscriptions
More information about the foundations-bugs
mailing list