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

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Mon May 13 05:48:43 UTC 2019


>>> Andrei Borzenkov <arvidjaar at gmail.com> schrieb am 09.05.2019 um 16:32 in
Nachricht <11c2e9e7-4094-7c65-5840-9f69b54e3939 at gmail.com>:
> 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.

The confusing part is that something that cannot be found is "active" for 18
minutes ;-)



More information about the systemd-devel mailing list