Accepting request 1084411 from home:jsegitz:branches:vdr
- Remove ProtectClock hardening. This causes more pain then it helps (bsc#1200577) OBS-URL: https://build.opensuse.org/request/show/1084411 OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=116
This commit is contained in:
parent
046a9acdd1
commit
3717a3047b
@ -2,14 +2,13 @@ Index: lirc-0.10.1/systemd/irexec.service
|
||||
===================================================================
|
||||
--- lirc-0.10.1.orig/systemd/irexec.service
|
||||
+++ lirc-0.10.1/systemd/irexec.service
|
||||
@@ -5,6 +5,16 @@ Documentation=http://lirc.org/html/confi
|
||||
@@ -5,6 +5,15 @@ Documentation=http://lirc.org/html/confi
|
||||
Description=Handle events from IR remotes decoded by lircd(8)
|
||||
|
||||
[Service]
|
||||
+# added automatically, for details please see
|
||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
+ProtectHostname=true
|
||||
+ProtectClock=true
|
||||
+ProtectKernelTunables=true
|
||||
+ProtectKernelModules=true
|
||||
+ProtectKernelLogs=true
|
||||
|
@ -2,14 +2,13 @@ Index: lirc-0.10.1/systemd/lircd-uinput.service
|
||||
===================================================================
|
||||
--- lirc-0.10.1.orig/systemd/lircd-uinput.service
|
||||
+++ lirc-0.10.1/systemd/lircd-uinput.service
|
||||
@@ -5,6 +5,16 @@ Documentation=http://lirc.org/html/confi
|
||||
@@ -5,6 +5,15 @@ Documentation=http://lirc.org/html/confi
|
||||
Description=Forward LIRC button presses as uinput events
|
||||
|
||||
[Service]
|
||||
+# added automatically, for details please see
|
||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
+ProtectHostname=true
|
||||
+ProtectClock=true
|
||||
+ProtectKernelTunables=true
|
||||
+ProtectKernelModules=true
|
||||
+ProtectKernelLogs=true
|
||||
|
@ -1,22 +1,20 @@
|
||||
--- lirc-0.10.1.orig/systemd/lircd.service 2021-11-13 20:42:43.204519438 +0100
|
||||
+++ lirc-0.10.1/systemd/lircd.service 2021-11-13 20:47:54.182189779 +0100
|
||||
@@ -6,6 +6,20 @@ Wants=lircd-setup.service
|
||||
Index: lirc-0.10.1/systemd/lircd.service
|
||||
===================================================================
|
||||
--- lirc-0.10.1.orig/systemd/lircd.service
|
||||
+++ lirc-0.10.1/systemd/lircd.service
|
||||
@@ -6,6 +6,16 @@ Wants=lircd-setup.service
|
||||
After=network.target lircd-setup.service
|
||||
|
||||
[Service]
|
||||
+# added automatically, for details please see
|
||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
+ProtectHostname=true
|
||||
+ProtectClock=true
|
||||
+ProtectKernelTunables=true
|
||||
+ProtectKernelModules=true
|
||||
+ProtectKernelLogs=true
|
||||
+ProtectControlGroups=true
|
||||
+RestrictRealtime=true
|
||||
+# end of automatic additions
|
||||
+#
|
||||
+# ProtectClock=true from above blocks all device accesses, allow input device access again
|
||||
+DeviceAllow=char-input
|
||||
+#
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/lircd --nodaemon
|
||||
|
@ -2,14 +2,13 @@ Index: lirc-0.10.1/systemd/lircmd.service
|
||||
===================================================================
|
||||
--- lirc-0.10.1.orig/systemd/lircmd.service
|
||||
+++ lirc-0.10.1/systemd/lircmd.service
|
||||
@@ -5,6 +5,16 @@ Documentation=http://lirc.org/html/confi
|
||||
@@ -5,6 +5,15 @@ Documentation=http://lirc.org/html/confi
|
||||
Description=Convert IR remotes button presses to mouse movements and clicks
|
||||
|
||||
[Service]
|
||||
+# added automatically, for details please see
|
||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
+ProtectHostname=true
|
||||
+ProtectClock=true
|
||||
+ProtectKernelTunables=true
|
||||
+ProtectKernelModules=true
|
||||
+ProtectKernelLogs=true
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 3 14:13:16 UTC 2023 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Remove ProtectClock hardening. This causes more pain then it
|
||||
helps (bsc#1200577)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 24 17:36:52 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user