On Tue, Apr 17, 2018 at 10:52 AM, Petr Pisar <ppisar(a)redhat.com> wrote:
You mean systemctl can talk to a systemd via
/var/run/dbus/system_bus_socket. Ok.
IIRC, systemctl detects that it is running in chrooted environment
(i.e. system isn't "live") by looking at inode number of /. If the
number that systemctl sees (/proc/<SYSTEMCTLPID>/root) and one that
PID 1 see are different than systemctl assumes it is chrooted and
refuses to serve service start requests.
Michal