From e894f4234151e944941427ccdfa7a7bc84825153a071d57bf457c43b4e09e092 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 21 Nov 2021 21:12:57 +0000 Subject: [PATCH] Accepting request 932187 from home:jsegitz:branches:systemdhardening:filesharing Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/932187 OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=7 --- rtorrent.changes | 6 ++++++ rtorrent.service | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/rtorrent.changes b/rtorrent.changes index 43f78d5..52300e2 100644 --- a/rtorrent.changes +++ b/rtorrent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 16 12:09:53 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * rtorrent.service + ------------------------------------------------------------------- Fri Sep 4 14:21:00 UTC 2020 - Jan Engelhardt diff --git a/rtorrent.service b/rtorrent.service index 173fcca..d8ce8a4 100644 --- a/rtorrent.service +++ b/rtorrent.service @@ -3,6 +3,18 @@ Description=rTorrent daemon Requires=network.target local-fs.target [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=forking RemainAfterExit=yes KillMode=none