]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-bus: allow connecting to the pseudo-container ".host"
authorLennart Poettering <lennart@poettering.net>
Tue, 17 Jul 2018 10:23:26 +0000 (12:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Jul 2018 20:48:11 +0000 (22:48 +0200)
commit1e5057b904473696ae0d591d7555233adcb51fa4
treea551e86405e10181fde4913bcce5077d1a7a8777
parent7bd4bcf740aa0ee2ac9651dced2019c5b84526f8
sd-bus: allow connecting to the pseudo-container ".host"

machined exposes the pseudo-container ".host" as a reference to the host
system, and this means "machinectl login .host" and "machinectl shell
.host" get your a login/shell on the host. systemd-run currently doesn't
allow that. Let's fix that, and make sd-bus understand ".host" as an
alias for connecting to the host system.
src/basic/util.c
src/libsystemd/sd-bus/sd-bus.c