On Sunday, 14 April 2024 at 15:21, Andrei Borzenkov <arvidj...@gmail.com> wrote:

> If whatever your script does involves (re-)starting of sshd service, you
> have deadlock with "oneshot" - sshd service cannot proceed until your
> service startup completes and your service apparently waits on something
> that waits on your own service.
> 
> With "exec" your service startup completes right away and does not
> prevent sshd service startup.
> 

Super, thank you Andrei.

I have re-written my script to not rely on dpkg-reconfigure and now it works 
fine with oneshot, no more deadlock.

Reply via email to