From: Lennart Poettering Date: Mon, 30 Jun 2014 19:44:05 +0000 (+0200) Subject: units: skip mounting /tmp if it is a symlink X-Git-Tag: v215~101 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8ebf02d6f382ce1ac7e0d44a713b8795a07b08cd;ds=sidebyside units: skip mounting /tmp if it is a symlink We shouldn't get confused if people have symlinked /tmp somewhere, so let's simply skip the mount then. --- diff --git a/units/tmp.mount b/units/tmp.mount index 99a3ba3f6..00a0d2872 100644 --- 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