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'.

Reply via email to