[Bug 1152744] Re: mountall is lying about /run's noexec

Steve Langasek steve.langasek at canonical.com
Wed Mar 13 17:16:00 UTC 2013


This is a result of /run being mounted from the initramfs.  mountall
doesn't attempt to remount any filesystems that are already mounted, it
just records them in /etc/mtab with 'mount -f'.  This has previously
been reported as bug #1039887.

I think having the wrong default mount options for /run is an initramfs-
tools bug, rather than a mountall bug; initramfs-tools should get the
mount options right without us having to remount anything.

** Package changed: mountall (Ubuntu) => initramfs-tools (Ubuntu)

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => Medium

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Triaged

-- 
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/1152744

Title:
  mountall is lying about /run's noexec

Status in “initramfs-tools” package in Ubuntu:
  Triaged

Bug description:
  It looks like /run got mounted without noexec and the mtab write lies
  about it:

  $ grep -m1 /run /etc/mtab /proc/mounts 
  /etc/mtab:tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
  /proc/mounts:tmpfs /run tmpfs rw,nosuid,relatime,size=1618980k,mode=755 0 0

  For completeness, /run should _actually_ be mounted noexec, even if
  it's root:root 0755.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1152744/+subscriptions




More information about the foundations-bugs mailing list