[systemd-devel] [PATCH 1/2] bus-util: add ssh and polkit connection methods
Lennart Poettering
lennart at poettering.net
Wed Oct 30 15:50:39 CET 2013
On Wed, 30.10.13 06:55, Simon Peeters (peeters.simon at gmail.com) wrote:
> bus_connect_system_ssh is shamelessly copied from Tom Gundersen's wip
> patches
Tom's patches are merged them and I have now moved the SSH bits into the
public API of libsystem-bus.
The PolKit transport we decided to remove, as nobody really was using
it, and it is better to add polkit auth to specific calls rather than
for the entire transport. Thus, during the conversion all polkit
transport should be removed from the tools and man pages. (To clarify:
only the *transport* i.e. the -P switch to the xyzctl tools should
go,not the general polkit supportfor authenticated operations).
However, I just added support for connecting to the system bus of
arbitrary local containers. Also in the public API. All of the xyzctl
tools we have should make use of this. Ultimately this means that the
polkit transport is just "replaced" by the container transport.
The machinectl tool does this correctly now, it's the example to base
the other tools on.
Can I convince you to rebase the patches with this in mind?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list