-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service dependency failed after the system reboot #595
Comments
Can you see in the bitcoind logs that it takes long to start? Are there any errors in bitcoind logs? |
Hello Jonas, The problem:
That is why all the dependent units fail. These errors are caused because the The reason I have overlooked the error is because the bitcoind service is automatically restarted and then it's running without any errors. It's running without any issues, because the Then the permissions are set to:
WorkaroundIs it possible that bitcoind is started before the My current workaround is just to restart the Thanks! |
I have a similar problem: Systemd output
|
Hello,
when I reboot the VM with nix-bitcoin, most of the services which depend on a
bitcoind.service
fail with the "Dependency failed for 'service_name'" error and they are not started/restarted at all.It's a pain especially when the
clightning.service
is not started because most of other services depend on it:This behavior is reproducible in 90% of reboots. I am running latest nix-bitcoin (v0.0.87) on:
I think it could be possible that it just takes too long to start bitcoind unit and initialize the Tor network which results in dependent units timing out. What do you think?
My current workaround is just to manually restart of all the failed units.
The text was updated successfully, but these errors were encountered: