[Bug 1540803] Re: check /etc/fstab for custom /run mount options

Benjamin Drung 1540803 at bugs.launchpad.net
Fri Oct 4 11:29:16 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better. We appreciate that this bug may be old and you might not
be interested in discussing it anymore. But if you are then please
upgrade to the latest Ubuntu version and re-test. If you then find the
bug is still present in the newer Ubuntu version, please add a comment
here telling us which new version it is in.

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1540803

Title:
  check /etc/fstab for custom /run mount options

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  Under upstart, I can have the following line in my /etc/fstab:
      tmpfs /run tmpfs defaults,size=10M 0 0 

  At mount time, mountall will use /etc/fstab as an override for the
  internal fstab (/lib/init/fstab) and so I end up with /run mounted
  with a 10MB limit.

  Under systemd, the exact same fstab appears to be ignored and I end up
  with a /run that has a limit of half my memory.

  This may very well surprise users upgrading production environments
  from 14.04 to 16.04 or users that have to follow some strict
  partitioning and mount configuration policies (we've seen a couple of
  those by now) so it'd be good to have this resolved.

  
  I did testing with /run in LXD containers on 14.04 (upstart) and 16.04 (systemd).

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




More information about the foundations-bugs mailing list