Re: How does systemd (pid1) connect to system DBus?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 04.02.20 17:34, Uoti Urpala (uoti.urpala@xxxxxxxxxxx) wrote:

> On Mon, 2020-02-03 at 19:01 +0000, Dimitri John Ledkov wrote:
> > I see that systemd pid1 manager is available on the system DBus.
> >
> > But when/how does it connect to it?
>
> unit_notify() calls manager_recheck_dbus(), which connects to the bus
> if dbus.service is running.

Correct, we connect to dbus the instant dbus.service is up, and
terminate when it goes down. dbus.service is magic hence from PID1's
PoV. Something similar happens wit journald and logging.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux