Re: [systemd-devel] How does systemd (pid1) connect to system DBus?

2020-03-31 Thread Lennart Poettering
On Di, 04.02.20 17:34, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: > On Mon, 2020-02-03 at 19:01 +, 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(),

Re: [systemd-devel] How does systemd (pid1) connect to system DBus?

2020-02-04 Thread Uoti Urpala
On Mon, 2020-02-03 at 19:01 +, 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.

[systemd-devel] How does systemd (pid1) connect to system DBus?

2020-02-03 Thread Dimitri John Ledkov
I see that systemd pid1 manager is available on the system DBus. But when/how does it connect to it? I'm failing to trace it in both systemd & dbus code. I assume that systemd starts, eventually starts dbus.socket/service, dbus starts, and then something causes systemd to connect to the system