From e66047ff62c971eefa32b42373420d61e3f2a9c1 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 7 Aug 2014 20:42:58 -0400 Subject: core: do not add dependencies to self Adds a pair of files which cause a segfault (also with systemd-analyze verify). https://bugzilla.redhat.com/show_bug.cgi?id=1124843 --- test/loopy.service | 2 ++ test/loopy.service.d/compat.conf | 5 +++++ test/loopy2.service | 1 + 3 files changed, 8 insertions(+) create mode 100644 test/loopy.service create mode 100644 test/loopy.service.d/compat.conf create mode 120000 test/loopy2.service (limited to 'test') diff --git a/test/loopy.service b/test/loopy.service new file mode 100644 index 0000000000..9eb645748e --- /dev/null +++ b/test/loopy.service @@ -0,0 +1,2 @@ +[Service] +ExecStart=/bin/true diff --git a/test/loopy.service.d/compat.conf b/test/loopy.service.d/compat.conf new file mode 100644 index 0000000000..51b84b89ed --- /dev/null +++ b/test/loopy.service.d/compat.conf @@ -0,0 +1,5 @@ +[Unit] +BindsTo=loopy2.service + +[Install] +Also=loopy2.service diff --git a/test/loopy2.service b/test/loopy2.service new file mode 120000 index 0000000000..961b1fe9bc --- /dev/null +++ b/test/loopy2.service @@ -0,0 +1 @@ +loopy.service \ No newline at end of file -- cgit v1.2.3-54-g00ecf