Skip to content

Inform user about unclean shutdowns #6833

@agners

Description

@agners

Description

The recent bug #6827 showed that watchdog can cause system reboots. In general, its hard to tell for users when a system reboots unexpectedly. We could write a marker file which we delete on clean shutdown to detect unclean shutdowns, and inform the user about it.

Maybe it is also possible to detect if watchdog caused a reboot. If so, we should definitely include this information as well.

The recorder in Core already has a similar feature. But from what I am aware it only surfaces as a warning in the Core logs currently.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions