[systemd-devel] Q: Debugging missing requirements

Andrei Borzenkov arvidjaar at gmail.com
Thu Feb 11 14:20:33 UTC 2021


On Thu, Feb 11, 2021 at 1:47 PM Ulrich Windl
<Ulrich.Windl at rz.uni-regensburg.de> wrote:
>
> Hi!
>
> Suspecting systemd added some requirement that isn't fulfilled after boot, preventing my units from starting I wonder:
> How can I debug systemd's requirements checking for units that are enabled, but not started at boot (status "inactive (dead)"?

Usual advice is - enable debug logging.

> Or another way: Can I list the dependencies that systemd added automatically?
>

If you mean implicit or default dependencies - no. They are listed in
man pages, although there is no guarantee that list is complete. Your
best bet is source code.


More information about the systemd-devel mailing list