]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/analyze/analyze.c
analyze: use normal bus connection for "plot" verb (#7685)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 18 Dec 2017 18:35:03 +0000 (19:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Dec 2017 18:35:03 +0000 (19:35 +0100)
commitbf0e0a4df2d41a5631811f7db6b6c1c866c3ed80
tree2b33996196cbcc8b225e1c5f19f3a8c872f3b101
parentbd8fdbcfc559e0691cca7dfba1b8e140dd163a96
analyze: use normal bus connection for "plot" verb (#7685)

We need to connect to hostnamed, so a private bus connection is no good.
It'd be simpler to use the normal bus connection unconditionally, but
that'd mean that e.g. systemd-analyze set-log-level might not work in
emergency mode. So let's keep trying to use the private connection except
for "plot".

Fixes #7667.
src/analyze/analyze.c