systemd/SOURCES/0006-units-add-Install-section-to-tmp.mount.patch

25 lines
630 B
Diff
Raw Normal View History

2022-03-01 12:41:19 +00:00
From 0e4d18011e394d83c5e6ce045c05b03619fe7145 Mon Sep 17 00:00:00 2001
2021-11-04 00:51:05 +00:00
From: Jan Synacek <jsynacek@redhat.com>
Date: Tue, 22 Jan 2019 10:28:42 +0100
Subject: [PATCH] units: add [Install] section to tmp.mount
RHEL-only
Related: #1959826
---
units/tmp.mount | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/units/tmp.mount b/units/tmp.mount
2022-03-01 12:41:19 +00:00
index 4e1bb8de24..4874e8daff 100644
2021-11-04 00:51:05 +00:00
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -23,3 +23,7 @@ What=tmpfs
Where=/tmp
Type=tmpfs
2022-03-01 12:41:19 +00:00
Options=mode=1777,strictatime,nosuid,nodev,size=50%,nr_inodes=1m
2021-11-04 00:51:05 +00:00
+
+# Make 'systemctl enable tmp.mount' work:
+[Install]
+WantedBy=local-fs.target