Skip to content

Conversation

@navi-desu
Copy link
Member

4d8a5c4 added the timeout logic from svc_wait into svc_exec, with the goal of avoiding stalling the boot process should a service hang, however we failed to mention the change in NEWS, and some critical services like postgres rely on inifinite timeout for stop().

this logic was also sharing the timeout keyword from depend(), which is not very clean

let's revert the timeout logic, and properly re-introduce it later, with effort put into making sure no issues happen.

Bug: #896

@martinetd
Copy link
Contributor

Thanks for the heads up on this PR in the other issue.

I think we're good but I've restarted tests with 0.62.5 + #898 (sigchld block) + this PR (as rebased in https://github.com/martinetd/openrc/commits/no-timeout-start-stop/ - not a difficult conflict fix anyway)
I'll report back if anything else comes up :)

Cheers,

4d8a5c4 added the timeout logic from svc_wait into svc_exec, with the
goal of avoiding stalling the boot process should a service hang,
however we failed to mention the change in NEWS, and some critical
services like postgres rely on inifinite timeout for `stop()`.

this logic was also sharing the `timeout` keyword from `depend()`, which
is not very clean

let's revert the timeout logic, and properly re-introduce it later, with
effort put into making sure no issues happen.

Bug: #896
@navi-desu navi-desu force-pushed the no-timeout-start-stop branch from 603ca27 to 64f2557 Compare July 7, 2025 21:45
@navi-desu navi-desu merged commit 86b9624 into master Jul 11, 2025
10 checks passed
@navi-desu navi-desu deleted the no-timeout-start-stop branch July 11, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants