summaryrefslogtreecommitdiffstats
path: root/meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch')
-rw-r--r--meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch b/meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch
new file mode 100644
index 0000000..ef7e541
--- /dev/null
+++ b/meta-toradex-extras/recipes/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch
@@ -0,0 +1,22 @@
1From 2a9d175360f1ed3ef85e336a329a9e803226096e Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.oss.09@gmail.com>
3Date: Thu, 29 Oct 2015 19:38:50 +0100
4Subject: [PATCH] systemd-udevd.service.in: set MountFlags=shared
5
6This allows for udevd automounting of drives accessible to all.
7---
8 units/systemd-udevd.service.in | 1 -
9 1 file changed, 1 deletion(-)
10
11diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
12index 6a3814e5d9..e3f3ad3293 100644
13--- a/units/systemd-udevd.service.in
14+++ b/units/systemd-udevd.service.in
15@@ -25,7 +25,6 @@ ExecStart=@rootlibexecdir@/systemd-udevd
16 KillMode=mixed
17 WatchdogSec=3min
18 TasksMax=infinity
19-PrivateMounts=yes
20 MemoryDenyWriteExecute=yes
21 RestrictRealtime=yes
22 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6