[systemd-devel] Suggestion for " failed with result 'dependency'."
Mantas Mikulėnas
grawity at gmail.com
Thu Jun 5 07:28:23 UTC 2025
On 05/06/2025 10.00, Windl, Ulrich wrote:
>
> Hi!
>
> I wrote a simple service that did not start after boot. The joural
> message was:
>
> REST-server.service: Job REST-server.service/start failed with result
> 'dependency'.
>
> Wouldn’t it be helpful to log WHICH dependency failed? As I started
> the server meanwhile that information isn’t available any more (it seems).
>
It is logged in the journal, one line above the message you mention. It
is merely not tagged with _SYSTEMD_UNIT= for 'systemctl status' to find it.
Jun 05 10:25:24 frost systemd[1]: test2.service is inactive.
Jun 05 10:25:24 frost systemd[1]: Dependency failed for test.service.
Jun 05 10:25:24 frost systemd[1]: test.service: Job test.service/start
failed with result 'dependency'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250605/9408ed81/attachment-0001.htm>
More information about the systemd-devel
mailing list