Skip to content

Update Systemd security settings

Rahul Sundaram requested to merge rahulsundaram/gdm:systemd_sec into main

As part of https://fedoraproject.org/wiki/Changes/SystemdSecurityHardening which has been approved for Fedora 40, I am working on updating Systemd services to add additional hardening settings, please review this PR and let me know if you have any feedback. If you have a list of directories that this service must be able to write to, I would like to add it an allow list and turn on ProtectSystem fyi.

https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html has detailed information on each of these settings including the version of Systemd where they were introduced.

Merge request reports