[Bug 1540803] [NEW] systemd doesn't respect /etc/fstab for internal mounts
Stéphane Graber
stgraber at stgraber.org
Tue Feb 2 08:38:59 UTC 2016
Public bug reported:
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).
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1540803
Title:
systemd doesn't respect /etc/fstab for internal mounts
Status in systemd package in Ubuntu:
New
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/systemd/+bug/1540803/+subscriptions
More information about the foundations-bugs
mailing list