summaryrefslogtreecommitdiff
path: root/test/loopy4.service
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-07 20:46:49 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-07 20:46:49 -0400
commitd1fab3fe88ae873b26b50359758776ad9e31968e (patch)
treeb3358edafdceec282d1123ebef6df09b25c7d6c8 /test/loopy4.service
parente66047ff62c971eefa32b42373420d61e3f2a9c1 (diff)
core: warn when merged units have conflicting dependencies
A unit should not Conflict with itself. It also does not make much sense for a unit to be After or Before itself, or to trigger itself in some way. If one of those dependency types is encountered, warn, instead of dropping it silently like other dependency types. % build/systemd-analyze verify test/loopy3.service ... Dependency Conflicts dropped when merging unit loopy4.service into loopy3.service Dependency ConflictedBy dropped when merging unit loopy4.service into loopy3.service
Diffstat (limited to 'test/loopy4.service')
l---------test/loopy4.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/loopy4.service b/test/loopy4.service
new file mode 120000
index 000000000..43e5658bc
--- /dev/null
+++ b/test/loopy4.service
@@ -0,0 +1 @@
+loopy3.service \ No newline at end of file