[systemd-devel] [PATCH 0/7] systemctl: port to libsystemd-bus

Marc-Antoine Perennou Marc-Antoine at Perennou.com
Wed Nov 6 22:51:32 PST 2013


On 7 November 2013 13:48, Marc-Antoine Perennou
<Marc-Antoine at perennou.com> wrote:
> 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
>

Note that a regularly rebased version of these patches is available
here: https://github.com/Keruspe/systemd
In case the patches don't apply anymore.

Marc-Antoine


More information about the systemd-devel mailing list