summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichal Sekletar <msekletar@users.noreply.github.com>2017-10-16 16:15:05 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-16 16:15:05 +0200
commitfab35afabf01a5dea651187a1ccb5ae7cd778f9d (patch)
tree782bd51c511523c1d7e18152021fc9f62db24df0 /units
parent0051ca1f63e6d9c481e3b5f989e72ff538b17daa (diff)
downloadsystemd-fab35afabf01a5dea651187a1ccb5ae7cd778f9d.tar.gz
mount: make sure we unmount tmpfs mounts before we deactivate swaps (#7076)
In the past we introduced this property just for tmp.mount. However on todays systems usually there are many more tmpfs mounts. Most notably mounts backing XDG_RUNTIME_DIR for each user. Let's generalize what we already have for tmp.mount and implement the ordering After=swap.target for all tmpfs based mounts.
Diffstat (limited to 'units')
-rw-r--r--units/tmp.mount1
1 files changed, 0 insertions, 1 deletions
diff --git a/units/tmp.mount b/units/tmp.mount
index 3a333d22ec..a057fa1cf9 100644
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -13,7 +13,6 @@ ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
-After=swap.target
[Mount]
What=tmpfs