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

Michael Chapman mike at very.puzzling.org
Thu Sep 22 06:50:20 UTC 2022


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.

- Michael


More information about the systemd-devel mailing list