Accepting request 932982 from Base:System

OBS-URL: https://build.opensuse.org/request/show/932982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quota?expand=0&rev=59
This commit is contained in:
Dominique Leuenberger 2021-11-24 22:54:10 +00:00 committed by Git OBS Bridge
commit 0751a9073a
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 21 08:09:16 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* quotad.service
-------------------------------------------------------------------
Mon Mar 8 23:43:44 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

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