Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracker: Harden all our systemd units #1662

Open
travier opened this issue Jan 31, 2024 · 3 comments
Open

Tracker: Harden all our systemd units #1662

travier opened this issue Jan 31, 2024 · 3 comments

Comments

@travier
Copy link
Member

travier commented Jan 31, 2024

For the following Fedora 40 change, we should take a look at all our systemd units and make sure they are as hardened as possible: https://fedoraproject.org/wiki/Changes/SystemdSecurityHardening

List of units to look at:

  • ostree:
    • ostree-boot-complete.service
    • ostree-finalize-staged-hold.service
    • ostree-finalize-staged.service
    • ostree-prepare-root.service
    • ostree-remount.service
  • rpm-ostree:
    • ?
  • zincati:
    • ?
  • ignition:
    • ?
  • ?
@ruihe774
Copy link

Hi! FWIW I'm wondering if it is possible to add a global drop-in in ostree-enabled fedara editions to prevent other services that do not operate on ostree from accessing /sysroot. See previous discussions at ostreedev/ostree#3211 and https://discussion.fedoraproject.org/t/f40-change-proposal-systemd-security-hardening-system-wide/96423/31

@travier
Copy link
Member Author

travier commented Mar 26, 2024

We did not complete this effort for F40 and the global change has been pushed to F41.

@Baigle
Copy link

Baigle commented Apr 3, 2024

Some users have published their successful systemd unit configs and triage methods during setup since the FESCo announcement. See here, though their efforts are incomplete and its effects and interactions widespread and sensitive on system function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants