sd-bus: support connecting to remote hosts, directly into containers
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Jul 2014 23:17:26 +0000 (01:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Jul 2014 23:17:26 +0000 (01:17 +0200)
commit7f0d207d2c816e0a8cb2742b0a789911f7c99356
tree148eea6477a079339c5ecfa1a03d7debe50fed17
parent8f6e22a1cafafb4e78e23c1998f23a997c1b294f
sd-bus: support connecting to remote hosts, directly into containers

systemctl -H root@foobar:waldi

will now show a list of services running on container "waldi" on host
"foobar", using "root" for authenticating at "foobar".

Since entereing a container requires priviliges, this will only work
correctly for root logins.
src/bus-proxyd/bus-proxyd.c
src/libsystemd/sd-bus/sd-bus.c
src/machine/machined-dbus.c
src/shared/util.c
src/shared/util.h