Blame harden_accounts-daemon.service.patch

Adrian Schröter 24cc53
Index: accountsservice-22.08.8/data/accounts-daemon.service.in
Adrian Schröter 24cc53
===================================================================
Adrian Schröter 24cc53
--- accountsservice-22.08.8.orig/data/accounts-daemon.service.in	2022-02-23 16:27:48.000000000 +0100
Adrian Schröter 24cc53
+++ accountsservice-22.08.8/data/accounts-daemon.service.in	2022-08-02 09:17:14.424438207 +0200
Adrian Schröter 24cc53
@@ -8,6 +8,11 @@
Adrian Schröter 24cc53
 Wants=nss-user-lookup.target
Adrian Schröter 24cc53
 
Adrian Schröter 24cc53
 [Service]
Adrian Schröter 24cc53
+# added automatically, for details please see
Adrian Schröter 24cc53
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
Adrian Schröter 24cc53
+ProtectHostname=true
Adrian Schröter 24cc53
+ProtectClock=true
Adrian Schröter 24cc53
+ProtectKernelLogs=true
Adrian Schröter 24cc53
 Type=dbus
Adrian Schröter 24cc53
 BusName=org.freedesktop.Accounts
Adrian Schröter 24cc53
 ExecStart=@libexecdir@/accounts-daemon