This serie of patches ports systemctl to libsystemd-bus and fixes a couple of issues encountered while porting it.
Note that curerently systemctl --user doesn't work. Actually, systemd-analyze --user doesn't work either, so there seem to be an issue regarding this in libsystemd-bus. The error message is: Failed to parse reply: Process org.freedesktop.systemd1 exited with status 1 Marc-Antoine Perennou (7): bus: allow reading empty arrays bus: fix bus_message_read_strv bus: fix bus_print_property with strv bus: rename sd_bus_get_property_{trivial,basic} bus: mark sd_bus_message_at_end public analyze: split out bus util functions systemctl: port to libsystemd-bus Makefile.am | 6 +- src/analyze/analyze.c | 82 +- src/libsystemd-bus/bus-convenience.c | 4 +- src/libsystemd-bus/bus-message.c | 25 +- src/libsystemd-bus/bus-util.c | 75 +- src/libsystemd-bus/bus-util.h | 17 + src/libsystemd-bus/libsystemd-bus.sym | 2 +- src/systemctl/systemctl.c | 2301 ++++++++++++--------------------- src/systemd/sd-bus.h | 2 +- 9 files changed, 961 insertions(+), 1553 deletions(-) -- 1.8.4.2 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel