ac3a84
From 90aa9644404fa40e67a158a383cc81ec0d6ab0f5 Mon Sep 17 00:00:00 2001
4295f9
From: Jan Synacek <jsynacek@redhat.com>
4295f9
Date: Tue, 22 Jan 2019 10:28:42 +0100
4295f9
Subject: [PATCH] units: add [Install] section to tmp.mount
4295f9
4295f9
RHEL-only
4295f9
ac3a84
Related: #2138081
4295f9
---
4295f9
 units/tmp.mount | 4 ++++
4295f9
 1 file changed, 4 insertions(+)
4295f9
4295f9
diff --git a/units/tmp.mount b/units/tmp.mount
ac3a84
index 734acea237..b9a41cd803 100644
4295f9
--- a/units/tmp.mount
4295f9
+++ b/units/tmp.mount
4295f9
@@ -23,3 +23,7 @@ What=tmpfs
4295f9
 Where=/tmp
4295f9
 Type=tmpfs
ac3a84
 Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m
4295f9
+
4295f9
+# Make 'systemctl enable tmp.mount' work:
4295f9
+[Install]
4295f9
+WantedBy=local-fs.target