Commit dd625fdd authored by Martin Pitt's avatar Martin Pitt

tmpfiles-setup-dev: Call tmpfiles with --boot to allow unsafe device creation

Fixes creation of static device nodes with kmod 20.

Closes: #780263
parent ddaae48b
......@@ -9,6 +9,9 @@ systemd (215-13) UNRELEASED; urgency=medium
* networkd: Fix stopping v4 dhcpclient when the carrier is lost. Thanks
Christos Trochalakis! (Closes: #779571)
* Fix segfault with units that depend on themselves. (Closes: #780675)
* tmpfiles-setup-dev: Call tmpfiles with --boot to allow unsafe device
creation. Fixes creation of static device nodes with kmod 20.
(Closes: #780263)
[ Didier Roche ]
* Ensure PrivateTmp doesn't require tmpfs through tmp.mount, but rather adds
......
......@@ -138,6 +138,7 @@ man-document-failed.patch
Use-correct-uname-identifiers-in-arch_map-for-SuperH.patch
networkd-link-fix-stopping-v4-dhcpclient-when-the-ca.patch
core-do-not-add-dependencies-to-self.patch
units-tmpfiles-setup-dev-allow-unsafe-file-creation-.patch
## Debian specific patches:
Add-back-support-for-Debian-specific-config-files.patch
......
From: Tom Gundersen <teg@jklm.no>
Date: Mon, 27 Oct 2014 17:15:42 +0100
Subject: units: tmpfiles-setup-dev - allow unsafe file creation to happen in
/dev at boot
This will allow us to mark static device nodes with '!' to indicate that they should only be created at early boot.
---
units/systemd-tmpfiles-setup-dev.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/units/systemd-tmpfiles-setup-dev.service.in b/units/systemd-tmpfiles-setup-dev.service.in
index 06346d3..0b66c53 100644
--- a/units/systemd-tmpfiles-setup-dev.service.in
+++ b/units/systemd-tmpfiles-setup-dev.service.in
@@ -17,4 +17,4 @@ ConditionCapability=CAP_SYS_MODULE
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create
+ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create --boot
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