chiark / gitweb /
units: local-fs.target - don't pull in default dependencies
authorTom Gundersen <teg@jklm.no>
Sun, 29 Jun 2014 14:20:33 +0000 (16:20 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 29 Jun 2014 14:20:33 +0000 (16:20 +0200)
Reported by Gerardo Exequiel Pozzi:

Looks like [commit a4a878d0] also changes a unrelated file
(units/local-fs.target) [partially]reverting the commit
40f862e3 (filesystem targets: disable default dependencies)

The side effect, at least in my case is that the "nofail" option in both
"crypttab" and "fstab" has partial effect does the default timeout
instead of continue normal boot without timeout.

units/local-fs.target

index 70cb13f25d4be4db4046a51ed11fe27336254ece..d2e5429c710f0753f25ec5c4f5e3fd4ee5bfd492 100644 (file)
@@ -8,6 +8,8 @@
 [Unit]
 Description=Local File Systems
 Documentation=man:systemd.special(7)
+DefaultDependencies=no
+Conflicts=shutdown.target
 After=local-fs-pre.target
 OnFailure=emergency.target
 OnFailureJobMode=replace-irreversibly