[Bug 1039887] Re: fstab does not honor /proc mount options
Christian Kujau
1039887 at bugs.launchpad.net
Thu Jul 10 00:44:52 UTC 2014
On Sat, 5 Jul 2014 at 17:18, KDEUSER56 wrote:
> So, how do I pass mount options to /proc instead? I need to enable acl
> support for /proc for security reasons.
I don't think procfs supports ACLs:
$ sudo mount -o remount,acl -v /proc
mount: mount failed
proc: unrecognized mount option "acl" or missing value
As a workaround, use /etc/rc.local to remount /proc with specific mount
options until this bug is fixed.
--
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/1039887
Title:
fstab does not honor /proc mount options
Status in “mountall” package in Ubuntu:
Triaged
Bug description:
Passing mount options (here: "hidepid=2") for /proc via /etc/fstab
does not seem to work:
$ grep /proc /etc/fstab /etc/mtab /proc/mounts
/etc/fstab:proc /proc proc nodev,noexec,nosuid,hidepid=2 0 0
/etc/mtab:proc /proc proc rw,noexec,nosuid,nodev 0 0
/proc/mounts:proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
Also, /etc/mtab and /proc/mounts are out of sync - are there plans to
link /etc/mtab against /proc/mounts? (Note: I'm not particularly in
favor of bug 906293, propsing yet another file to the mix).
The system is a fully patched Ubuntu 12.04.1 LTS (i686) in an Amazon
EC2 virtual machine.
Workaround: add the following line to /etc/rc.local:
mount -o remount,hidepid=2 /proc
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1039887/+subscriptions
More information about the foundations-bugs
mailing list