[systemd-devel] Explain status "Loaded: not-found (Reason: No such file or directory)"

Andrei Borzenkov arvidjaar at gmail.com
Thu May 9 14:32:07 UTC 2019

09.05.2019 13:25, Ulrich Windl пишет:
> Hi!
> I'm developing a service and getting the status of my target gives:
> ● iotwatch.target
>    Loaded: not-found (Reason: No such file or directory)
>    Active: active since Thu 2019-05-09 12:00:56 CEST; 18min ago
> I guess it's not a file named "Reason" that's missing. Despite of my
> recommendation to create helpful error messages, can you explain what it means?
> Even after an strace I could not find out what is missing.

It means that unit definition file (iotwatch.target) was not found in
any directory where systemd looks for it.

More information about the systemd-devel mailing list