aa0848
From 0e4d18011e394d83c5e6ce045c05b03619fe7145 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
aa0848
Related: #1959826
aa0848
---
aa0848
 units/tmp.mount | 4 ++++
aa0848
 1 file changed, 4 insertions(+)
aa0848
aa0848
diff --git a/units/tmp.mount b/units/tmp.mount
aa0848
index 4e1bb8de24..4874e8daff 100644
aa0848
--- a/units/tmp.mount
aa0848
+++ b/units/tmp.mount
aa0848
@@ -23,3 +23,7 @@ What=tmpfs
aa0848
 Where=/tmp
aa0848
 Type=tmpfs
aa0848
 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