0

How to determine which daemons are active at Ubuntu boot time before the systemd-logind.service daemon is executed and does not depend on the systemd-logind.service daemon?

I don't get an answer from strace and journalctl software. I want to find the Dependencies of daemons with systemd-logind.service.

................................

I have been following these instructions for some time, but it is not really clear (it answer is complicated).

I can't clearly get the dependencies of service or daemon For example: systemctl list-dependencies systemd-logind.service --before systemctl list-dependencies systemd-logind.service --after

With these methods, it is not possible to find only the dependencies of a service, because the execution of services at the same time in parallel does through (systemd is a system and service manager ).

It is not at all possible to clearly follow and understand the dependencies of a service. it is hard.

Even, for example, we want to see what steps and calls the executed or called service has with commands: (strace -e trace=signal ping 8.8.8.8 -c 4). Again, there is no indication of services and daemons that issue functionality.

This website gives some pointers. https://insujang.github.io/2018-11-22/systemd-boot-process/

But if we try to narrow it down, it gets more confusing.

1 Answers1

0

Having done a little research it appears there is a command for this.

systemctl list-dependencies systemd-logind.service 
PonJar
  • 1,973