SHA256
1
0
forked from pool/rtorrent

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
This commit is contained in:
Jan Engelhardt 2021-11-21 21:12:57 +00:00 committed by Git OBS Bridge
parent 9f201f2183
commit e894f42341
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 16 12:09:53 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* rtorrent.service
-------------------------------------------------------------------
Fri Sep 4 14:21:00 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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