dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
ff6046
From bb3d205bea1c83cbd0e27b504f5f1faa884fb602 Mon Sep 17 00:00:00 2001
ff6046
From: Jan Synacek <jsynacek@redhat.com>
ff6046
Date: Tue, 22 Jan 2019 10:28:42 +0100
ff6046
Subject: [PATCH] units: add [Install] section to tmp.mount
ff6046
ff6046
rhel-only
ff6046
ff6046
Resolves: #1667065
ff6046
---
ff6046
 units/tmp.mount | 4 ++++
ff6046
 1 file changed, 4 insertions(+)
ff6046
ff6046
diff --git a/units/tmp.mount b/units/tmp.mount
ff6046
index 742d86385c..b558047030 100644
ff6046
--- a/units/tmp.mount
ff6046
+++ b/units/tmp.mount
ff6046
@@ -22,3 +22,7 @@ What=tmpfs
ff6046
 Where=/tmp
ff6046
 Type=tmpfs
ff6046
 Options=mode=1777,strictatime,nosuid,nodev
ff6046
+
ff6046
+# Make 'systemctl enable tmp.mount' work:
ff6046
+[Install]
ff6046
+WantedBy=local-fs.target