diff --git a/quota.changes b/quota.changes index 5ddc8d0..7358eae 100644 --- a/quota.changes +++ b/quota.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 21 08:09:16 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * quotad.service + ------------------------------------------------------------------- Mon Mar 8 23:43:44 UTC 2021 - Dirk Müller diff --git a/quotad.service b/quotad.service index 54b41d7..2b329cf 100644 --- a/quotad.service +++ b/quotad.service @@ -3,6 +3,19 @@ Description=Quota RPC monitor 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=-/run/sysconfig/quotad ExecStart=/usr/sbin/rpc.rquotad -F ${RQUOTAD_ARGS} ExecStartPre=-/usr/lib/systemd/scripts/quotad_env.sh