From 48619b555160a8b234530c896b3580d2acd029f3 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 14 Feb 2018 16:38:02 +0100 Subject: Revert "Revert systemd: remove patch now provided upstream" OE-core dropped to do this for whatever reasons. Compare with openembedded core, commit 6c1765a05c1321f08f3d1fb521dfe6b07bc8e92 * Drop mount propagation patch, it only happens with libseccomp, OE doesnt enable it This reverts commit a8ee603737444c74db61d0a705b08e9a1dea5158. The patch is forward ported to systemd 234. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- ...md-udevd.service.in-set-MountFlags-shared.patch | 25 ++++++++++++++++++++++ recipes-core/systemd/systemd_%.bbappend | 5 +++++ 2 files changed, 30 insertions(+) create mode 100644 recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch create mode 100644 recipes-core/systemd/systemd_%.bbappend (limited to 'recipes-core') diff --git a/recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch b/recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch new file mode 100644 index 0000000..24f76d3 --- /dev/null +++ b/recipes-core/systemd/systemd/0001-systemd-udevd.service.in-set-MountFlags-shared.patch @@ -0,0 +1,25 @@ +From 974b3b3c9d723db3bb53fc9bbb40b7c1652c1b67 Mon Sep 17 00:00:00 2001 +From: Max Krummenacher +Date: Thu, 29 Oct 2015 19:38:50 +0100 +Subject: [PATCH] systemd-udevd.service.in: set MountFlags=shared + +This allows for udevd automounting of drives accessible to all. +--- + units/systemd-udevd.service.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in +index fc037b5a5..841d7a83f 100644 +--- a/units/systemd-udevd.service.in ++++ b/units/systemd-udevd.service.in +@@ -24,7 +24,6 @@ ExecStart=@rootlibexecdir@/systemd-udevd + KillMode=mixed + WatchdogSec=3min + TasksMax=infinity +-MountFlags=slave + MemoryDenyWriteExecute=yes + RestrictRealtime=yes + RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 +-- +2.13.6 + diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend new file mode 100644 index 0000000..8ebb6cc --- /dev/null +++ b/recipes-core/systemd/systemd_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/systemd:" + +SRC_URI += " \ + file://0001-systemd-udevd.service.in-set-MountFlags-shared.patch \ +" -- cgit v1.2.3