naccyde / rpms / systemd

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