From 37a7abdf0c1e6d8179bd09d3c1bd0363e8bc0a96 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 22 Feb 2024 11:07:01 -0500 Subject: [PATCH] ConditionKernelCommandLine=!remountsecure=0 --- usr/lib/systemd/system/remount-secure.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/systemd/system/remount-secure.service b/usr/lib/systemd/system/remount-secure.service index 575f05e..8797b9c 100644 --- a/usr/lib/systemd/system/remount-secure.service +++ b/usr/lib/systemd/system/remount-secure.service @@ -5,6 +5,8 @@ Description=remount /home /tmp /dev/shm /run with nosuid,nodev (default) and noexec (opt-in) Documentation=https://github.com/Kicksecure/security-misc +ConditionKernelCommandLine=!remountsecure=0 + DefaultDependencies=no Before=sysinit-post.target