summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2016-09-05 12:47:09 +0200
committerLukáš Nykrýn <lnykryn@redhat.com>2019-01-14 13:04:28 +0100
commit03e52d33bbdea731eaa79545bb1d30c5b21abe3d (patch)
tree6c40cc242aa3e59efa890c2437f30fc9e7c4fe0b
parentb6943446f8ffde53ce059b5e869c22bed8926827 (diff)
downloadsystemd-239-11.tar.gz
unit: don't add Requires for tmp.mountv239-11
rhel-only Resolves: #1619292
-rw-r--r--src/core/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index c9f756c9c7..721d8d60a3 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -1421,7 +1421,7 @@ static int unit_add_mount_dependencies(Unit *u) {
if (r < 0)
return r;
- if (m->fragment_path) {
+ if (m->fragment_path && !streq(m->id, "tmp.mount")) {
r = unit_add_dependency(u, UNIT_REQUIRES, m, true, di.origin_mask);
if (r < 0)
return r;