diff --git a/distcc.changes b/distcc.changes index ad51cf3..3e81f79 100644 --- a/distcc.changes +++ b/distcc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 13 14:35:20 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * distccd.service + ------------------------------------------------------------------- Wed May 12 21:18:15 UTC 2021 - Dirk Müller diff --git a/distccd.service b/distccd.service index 64a3720..4a3284d 100644 --- a/distccd.service +++ b/distccd.service @@ -3,6 +3,19 @@ Description=Distccd: A Distributed Compilation Server After=network.target [Service] +# 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 EnvironmentFile=-/etc/sysconfig/distccd ExecStart=/usr/bin/distccd --verbose --no-detach --daemon --port 3632 -N 15 --allow $ALLOWED_SERVERS $EXTRA_PARAMS