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