mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-20 10:24:10 -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
2 changed files with 24 additions and 0 deletions
|
@ -7,5 +7,8 @@ disable hide-hardware-info.service
|
||||||
## Disable for now until development finished / tested.
|
## Disable for now until development finished / tested.
|
||||||
disable permission-hardening.service
|
disable permission-hardening.service
|
||||||
|
|
||||||
|
## Disable for now until development finished / tested.
|
||||||
|
disable remount-secure.service
|
||||||
|
|
||||||
## Disable due to pkexec issues.
|
## Disable due to pkexec issues.
|
||||||
disable proc-hidepid.service
|
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…
Add table
Add a link
Reference in a new issue