Commit ed16ca86 authored by Michael Biebl's avatar Michael Biebl
Browse files

Re-enable mount propagation for udevd

This avoids that broken software like laptop-mode-tools, which runs
mount from within udev rules, causes the root file system to end up
read-only.

Closes: #762018
parent 891f6f90
......@@ -15,6 +15,9 @@ systemd (215-5) UNRELEASED; urgency=medium
[ Michael Biebl ]
* Don't overmount existing /run/user/<UID> directories with a per-user tmpfs
on upgrades. (Closes: #762041)
* Re-enable mount propagation for udevd. This avoids that broken software
like laptop-mode-tools, which runs mount from within udev rules, causes
the root file system to end up read-only. (Closes: #762018)
-- Sjoerd Simons <sjoerd@debian.org> Thu, 25 Sep 2014 22:13:42 +0200
......
......@@ -154,3 +154,4 @@ Fix-paths-in-man-pages.patch
buildsys-Don-t-default-to-gold-as-the-linker.patch
sd-bus-Accept-no-sender-as-the-destination-field.patch
login-don-t-overmount-run-user-UID-on-upgrades.patch
udev-re-enable-mount-propagation-for-udevd.patch
From: Michael Biebl <biebl@debian.org>
Date: Sat, 27 Sep 2014 04:19:24 +0200
Subject: udev: re-enable mount propagation for udevd
laptop-mode-tools remounts file systems from within a udev rule to apply
certain mount options. With MountFlags=slave, those mounts then become private
to the systemd-udevd namespace and are no longer accessible from outside the
namespace.
While the root cause is the broken behaviour of laptop-mode-tools, with mount
propagation turned off, this can result in a read-only root file system.
Therefore revert the relevant parts from commit
c2c13f2df42e0691aecabe3979ea81cd7faa35c7 to re-enable mount propagation for
udevd.
Once affected packages have been fixed, this patch should be dropped
again.
Closes: #762018
---
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 f6acd6f..57ea5f7 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -21,4 +21,3 @@ Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-udevd
-MountFlags=slave
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment