Accepting request 918945 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/918945
OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=255
This commit is contained in:
Peter Wullinger 2021-09-14 14:18:57 +00:00 committed by Git OBS Bridge
parent e9ae9fc6c1
commit c36f5e1f4e
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 14 07:31:37 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* exim.service
-------------------------------------------------------------------
Thu Jul 8 06:08:34 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -5,6 +5,19 @@ Conflicts=sendmail.service postfix.service
[Service]
PrivateTmp=true
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Environment=QUEUE=1h
EnvironmentFile=-/etc/sysconfig/exim
ExecStart=/usr/sbin/exim $EXIM_ARGS