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

25 lines
631 B
Diff
Raw Normal View History

2023-05-09 05:39:14 +00:00
From 90aa9644404fa40e67a158a383cc81ec0d6ab0f5 Mon Sep 17 00:00:00 2001
2022-05-17 10:28:40 +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
2023-05-09 05:39:14 +00:00
Related: #2138081
2022-05-17 10:28:40 +00:00
---
units/tmp.mount | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/units/tmp.mount b/units/tmp.mount
2023-05-09 05:39:14 +00:00
index 734acea237..b9a41cd803 100644
2022-05-17 10:28:40 +00:00
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -23,3 +23,7 @@ What=tmpfs
Where=/tmp
Type=tmpfs
2023-05-09 05:39:14 +00:00
Options=mode=1777,strictatime,nosuid,nodev,size=50%%,nr_inodes=1m
2022-05-17 10:28:40 +00:00
+
+# Make 'systemctl enable tmp.mount' work:
+[Install]
+WantedBy=local-fs.target