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.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/disable-systemd-protection.patch b/disable-systemd-protection.patch
new file mode 100644
index 000000000000..e644df6096c6
--- /dev/null
+++ b/disable-systemd-protection.patch
@@ -0,0 +1,18 @@
+diff --git a/data/fprintd.service.in b/data/fprintd.service.in
+index 9ea7a2a..0828fe8 100644
+--- a/data/fprintd.service.in
++++ b/data/fprintd.service.in
+@@ -8,13 +8,11 @@ BusName=net.reactivated.Fprint
+ ExecStart=@libexecdir@/fprintd
+
+ # Filesystem lockdown
+-ProtectSystem=strict
+ ProtectKernelTunables=true
+ ProtectControlGroups=true
+ # This always corresponds to /var/lib/fprint
+ StateDirectory=fprint
+ ProtectHome=true
+-PrivateTmp=true
+
+ # Network
+ PrivateNetwork=true