Re: Unclear as to why "exec" works but "oneshot" does not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sunday, 14 April 2024 at 15:21, Andrei Borzenkov <arvidjaar@xxxxxxxxx> 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.




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux