b2570460aa
Resolves: RHEL-71409,RHEL-71086,RHEL-66198,RHEL-66196,RHEL-66195,RHEL-66193,RHEL-66192,RHEL-63995,RHEL-60896,RHEL-56064
24 lines
842 B
Diff
24 lines
842 B
Diff
From 12bef1e0622eeb1cb4b1ed2e3d63fb1d38b1527a Mon Sep 17 00:00:00 2001
|
|
From: Jan Synacek <jsynacek@redhat.com>
|
|
Date: Tue, 15 May 2018 09:24:20 +0200
|
|
Subject: [PATCH] Avoid /tmp being mounted as tmpfs without the user's will
|
|
|
|
rhel-only: policy
|
|
|
|
Related: RHEL-40924
|
|
---
|
|
units/basic.target | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/units/basic.target b/units/basic.target
|
|
index d8cdd5ac14..9eae0782a2 100644
|
|
--- a/units/basic.target
|
|
+++ b/units/basic.target
|
|
@@ -19,4 +19,5 @@ After=sysinit.target sockets.target paths.target slices.target tmp.mount
|
|
# require /var and /var/tmp, but only add a Wants= type dependency on /tmp, as
|
|
# we support that unit being masked, and this should not be considered an error.
|
|
RequiresMountsFor=/var /var/tmp
|
|
-Wants=tmp.mount
|
|
+# RHEL-only: Disable /tmp on tmpfs.
|
|
+#Wants=tmp.mount
|