mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
Revert "remove no longer required remount-service systemd unit"
This reverts commit 479ab61a1d
.
https://github.com/Kicksecure/security-misc/pull/152
This commit is contained in:
parent
24b4d59ce4
commit
95d1cfb4a0
@ -7,5 +7,8 @@ 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
|
||||
|
21
lib/systemd/system/remount-secure.service
Normal file
21
lib/systemd/system/remount-secure.service
Normal file
@ -0,0 +1,21 @@
|
||||
## Copyright (C) 2019 - 2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||
## 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
|
Loading…
Reference in New Issue
Block a user