chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
908c32e
)
units: skip mounting /tmp if it is a symlink
author
Lennart Poettering
<lennart@poettering.net>
Mon, 30 Jun 2014 19:44:05 +0000
(21:44 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 30 Jun 2014 20:49:10 +0000
(22:49 +0200)
We shouldn't get confused if people have symlinked /tmp somewhere, so
let's simply skip the mount then.
units/tmp.mount
patch
|
blob
|
history
diff --git
a/units/tmp.mount
b/units/tmp.mount
index 99a3ba3f6c929d3d9119c3ca8c9f2a3a7678e3f1..00a0d28722449038f17e6aa66cb6c70def0cf9f8 100644
(file)
--- a/
units/tmp.mount
+++ b/
units/tmp.mount
@@
-9,6
+9,7
@@
Description=Temporary Directory
Documentation=man:hier(7)
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
+ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target