]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: tweak check whether resolved is around a bit
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Feb 2017 16:56:10 +0000 (17:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 Feb 2017 21:06:31 +0000 (16:06 -0500)
commitb053cd5f8e48e04ac576296404848bbb8dd26854
treef694200deefbd4022d451a122a8bc2fbcecf8442
parent4d1f490c9386d1a824ce8269de5ed7938cbf8096
nspawn: tweak check whether resolved is around a bit

Let's check D-Bus instead of files in /run to see if resolved is
running. This is a bit nicer as bus names are automatically cleaned up
when resolved dies, which is not the case for files in /run.

See: #4649
src/nspawn/nspawn.c