Skip to content
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

[Bug / Request] add a reasonable timeout to this endless loop ... #1641

Closed
SurinameClubcard opened this issue Dec 24, 2024 · 1 comment
Closed

Comments

@SurinameClubcard
Copy link

sh -c " sleep 1 && while true; do \

systemctl is-system-running | grep -E 'running|degraded' && break; \

I ran into a situation where systemd would forever report "initializing" on systemctl is-system-running, so the loop never finished, causing a hang.

Could you consider introducing a reasonable timeout for this loop? Maybe 30 seconds or so?

A hang is never desirable.

@SurinameClubcard
Copy link
Author

Thank you.

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

No branches or pull requests

1 participant