Accepting request 926699 from home:jsegitz:branches:systemdhardening:Base:System
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/926699 OBS-URL: https://build.opensuse.org/package/show/Base:System/quota?expand=0&rev=69
This commit is contained in:
parent
a15dedb4cc
commit
d462a04966
@ -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>
|
Mon Mar 8 23:43:44 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -3,6 +3,19 @@ Description=Quota RPC monitor
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[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
|
EnvironmentFile=-/run/sysconfig/quotad
|
||||||
ExecStart=/usr/sbin/rpc.rquotad -F ${RQUOTAD_ARGS}
|
ExecStart=/usr/sbin/rpc.rquotad -F ${RQUOTAD_ARGS}
|
||||||
ExecStartPre=-/usr/lib/systemd/scripts/quotad_env.sh
|
ExecStartPre=-/usr/lib/systemd/scripts/quotad_env.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user