Skip to content

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

@SurinameClubcard

Description

@SurinameClubcard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions