a19bc6
From a0adbe08c612f1330221c1a8bcad3cb5aedcb71b Mon Sep 17 00:00:00 2001
a19bc6
From: Lukas Nykryn <lnykryn@redhat.com>
a19bc6
Date: Mon, 5 Sep 2016 12:47:09 +0200
a19bc6
Subject: [PATCH] unit: don't add Requires for tmp.mount
a19bc6
a19bc6
rhel-only
a19bc6
Resolves: #1372249
a19bc6
---
a19bc6
 src/core/unit.c | 2 +-
a19bc6
 1 file changed, 1 insertion(+), 1 deletion(-)
a19bc6
a19bc6
diff --git a/src/core/unit.c b/src/core/unit.c
Pablo Greco 48fc63
index 0e90d130a4..a7d6d2f45b 100644
a19bc6
--- a/src/core/unit.c
a19bc6
+++ b/src/core/unit.c
a19bc6
@@ -1155,7 +1155,7 @@ static int unit_add_mount_dependencies(Unit *u) {
a19bc6
                         if (r < 0)
a19bc6
                                 return r;
a19bc6
 
a19bc6
-                        if (m->fragment_path) {
a19bc6
+                        if (m->fragment_path && !streq(m->id, "tmp.mount")) {
a19bc6
                                 r = unit_add_dependency(u, UNIT_REQUIRES, m, true);
a19bc6
                                 if (r < 0)
a19bc6
                                         return r;