Bug ID 1045287
Summary systemd: mounts using "nofail" option are not correctly ordered during shutdown
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter fbui@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

When a mount entry in fstab uses the "nofail" option, systemd doesn't order the
corresponding mount unit with a "Before=local-fs.target" so if the mount unit
takes time to be activated, it won't delay the whole boot process.

However by doing this, we also remove ordering constraint for the shutdown
process. This can lead to the mount unit being stopped while some applications
are still using the corresponding mount point.

This problem was discussed in bug 1036962 but this bug was more about NFS or
remote fs. In this case the fix already exists since v218 and remote fs
automatically gain a Before=remote-fs.target after they're mounted.

A similar fix has been submitted upstream for local fs which can be found here:
https://github.com/systemd/systemd/pull/6102 and is waiting for approval.


You are receiving this mail because: