From 479ab61a1d0c91d26c2cd200d97b39b2b786e073 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sun, 22 Oct 2023 12:55:20 -0400 Subject: [PATCH] remove no longer required remount-service systemd unit --- .../system-preset/50-security-misc.preset | 3 --- lib/systemd/system/remount-secure.service | 21 ------------------- 2 files changed, 24 deletions(-) delete mode 100644 lib/systemd/system/remount-secure.service diff --git a/lib/systemd/system-preset/50-security-misc.preset b/lib/systemd/system-preset/50-security-misc.preset index be35459..aee8b99 100644 --- a/lib/systemd/system-preset/50-security-misc.preset +++ b/lib/systemd/system-preset/50-security-misc.preset @@ -7,8 +7,5 @@ disable hide-hardware-info.service ## Disable for now until development finished / tested. disable permission-hardening.service -## Disable for now until development finished / tested. -disable remount-secure.service - ## Disable due to pkexec issues. disable proc-hidepid.service diff --git a/lib/systemd/system/remount-secure.service b/lib/systemd/system/remount-secure.service deleted file mode 100644 index ba6e017..0000000 --- a/lib/systemd/system/remount-secure.service +++ /dev/null @@ -1,21 +0,0 @@ -## Copyright (C) 2019 - 2023 ENCRYPTED SUPPORT LP -## See the file COPYING for copying conditions. - -[Unit] -Description=remount /home /tmp /dev/shm /run with nosuid,nodev (default) and noexec (opt-in) -Documentation=https://github.com/Kicksecure/security-misc - -DefaultDependencies=no -Before=sysinit.target -Requires=local-fs.target -After=local-fs.target - -After=qubes-sysinit.service - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/remount-secure - -[Install] -WantedBy=sysinit.target