[systemd-devel] Antw: [EXT] Re: Q: "Loaded: not-found (Reason: No such file or directory)"
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Thu Sep 22 07:04:55 UTC 2022
>>> Michael Chapman <mike at very.puzzling.org> schrieb am 22.09.2022 um 08:50 in
Nachricht <ff2d888c-60d6-2566-cf53-3556f51323e at very.puzzling.org>:
> On Thu, 22 Sep 2022, Ulrich Windl wrote:
>> Hi!
>>
>> I wonder:
>> # systemctl status i*
>> ● inst-sys.service
>> Loaded: not-found (Reason: No such file or directory)
>> Active: inactive (dead)
>>
>> ● iptables.service
>> Loaded: not-found (Reason: No such file or directory)
>> Active: inactive (dead)
>>
>> So I ttied to find out what's the problem with these servicres, but they
> don't
>> seem to exist actually:
>> # systemctl cat iptables.service
>> No files found for iptables.service.
>>
>> This is SLES12 SP5 (systemd-228).
>>
>> What can I do to resolve this (remove obsolete files, maybe)?
>>
>> Regards,
>> Ulrich
>
> There is no problem here. systemd knows about those units because they are
> referenced by other units, such as in Wants= directives.
Actually it turned out to be a stupid error of myself:
I had two directories in the CWD: inst-sys and iptables
The correct command to use would have been
# systemctl status i\*
;-)
Ulrich
>
> - Michael
More information about the systemd-devel
mailing list