summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2019-01-22 10:28:42 +0100
committerLukáš Nykrýn <lnykryn@redhat.com>2019-05-02 17:21:47 +0200
commitbb3d205bea1c83cbd0e27b504f5f1faa884fb602 (patch)
treec6ed006e081367a8e2c9179a931ec7ee65d9ac17
parent67b548434f258224239e41672478a0038d5c9d30 (diff)
downloadsystemd-bb3d205bea1c83cbd0e27b504f5f1faa884fb602.tar.gz
units: add [Install] section to tmp.mount
rhel-only Resolves: #1667065
-rw-r--r--units/tmp.mount4
1 files changed, 4 insertions, 0 deletions
diff --git a/units/tmp.mount b/units/tmp.mount
index 742d86385c..b558047030 100644
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -22,3 +22,7 @@ What=tmpfs
Where=/tmp
Type=tmpfs
Options=mode=1777,strictatime,nosuid,nodev
+
+# Make 'systemctl enable tmp.mount' work:
+[Install]
+WantedBy=local-fs.target