Accepting request 918946 from home:jsegitz:branches:systemdhardening:server:mail

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/918946
OBS-URL: https://build.opensuse.org/package/show/server:mail/fetchmail?expand=0&rev=119
This commit is contained in:
Pedro Monreal Gonzalez 2021-09-21 15:21:50 +00:00 committed by Git OBS Bridge
parent ba59d20bf1
commit fe88092315
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 14 08:55:42 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* fetchmail.service
-------------------------------------------------------------------
Tue Aug 24 16:50:40 UTC 2021 - Pedro Monreal <pmonreal@suse.com>

View File

@ -3,6 +3,17 @@ Description=A remote-mail retrieval utility
After=network.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
EnvironmentFile=-/etc/sysconfig/fetchmail
User=fetchmail
ExecStart=@LIBEXECDIR@/fetchmail-systemd-exec