]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
unit: don't add Requires for tmp.mount v239-11
authorLukas Nykryn <lnykryn@redhat.com>
Mon, 5 Sep 2016 10:47:09 +0000 (12:47 +0200)
committerLukáš Nykrýn <lnykryn@redhat.com>
Mon, 14 Jan 2019 12:04:28 +0000 (13:04 +0100)
rhel-only
Resolves: #1619292

src/core/unit.c

index c9f756c9c7c0e5c043d978923bf0bf70967120a8..721d8d60a312d0409a0093bce99bd787077b7733 100644 (file)
@@ -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;