Public bug reported:

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):

** Affects: mountall (Ubuntu)
     Importance: Undecided
         Status: New

-- 
remounts don't work with mountall
https://bugs.launchpad.net/bugs/519380
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to