summarylogtreecommitdiffstats
path: root/disable-systemd-protection.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-systemd-protection.patch')
-rw-r--r--disable-systemd-protection.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/disable-systemd-protection.patch b/disable-systemd-protection.patch
new file mode 100644
index 00000000000..6d0bf820bfa
--- /dev/null
+++ b/disable-systemd-protection.patch
@@ -0,0 +1,17 @@
+diff --git a/data/fprintd.service.in b/data/fprintd.service.in
+index 5f46810..a308ee3 100644
+--- a/data/fprintd.service.in
++++ b/data/fprintd.service.in
+@@ -8,12 +8,9 @@ BusName=net.reactivated.Fprint
+ ExecStart=@libexecdir@/fprintd
+
+ # Filesystem lockdown
+-ProtectSystem=strict
+ ProtectKernelTunables=true
+ ProtectControlGroups=true
+-ReadWritePaths=@localstatedir@/lib/fprint
+ ProtectHome=true
+-PrivateTmp=true
+
+ # Network
+ PrivateNetwork=true