diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-29 13:13:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-29 21:55:52 +0200 |
commit | 4fbd7192c5058d73c8aa408c21428dd554ac1cea (patch) | |
tree | 3af0bed34de74c70ee556bc28fd83602e27129db /shell-completion | |
parent | 8c8da0e0cb498245c765732cf9caa081a70c560f (diff) |
systemctl: rework how we connect to busses
Sometimes we have to connect to the system manager directly (early boot,
initrd, late boot, ...), sometimes through the system bus (unprivileged,
remote, logind, ...). Instead of guessing in advance, which kind of
connection we require (and sometimes guessing incorrectly), let's make
sure each time we need bus connection we request the right bus
explicitly.
This way, we set up exactly the bus connections require, never guess
incorrectly, and do so only immediately when necessary.
As effect this reworks avoid_bus() into install_client_side(), since
that's all it determines now: whether to install unit files client-side
or server-side (i.e. in PID 1).
Diffstat (limited to 'shell-completion')
0 files changed, 0 insertions, 0 deletions