Skip to content

'reboot' invoked in container restarts its host as well #1823

Description

@Ricky-Tigg

toolbox v. 0.3

Description
Hello. While in a Toolbox container a restart is requested by a component—e.g. the Linux kernel—for its pending update to apply, invoking 'reboot' in it does restart its host as well. Could that be the intended behaviour in Podman and Toolbox?

Expected behaviour
The restart to take effect there where it is invoked, here therefore in the sole container; then the restart of the container not be tied to the restart of its host in order to take effect.

Actual behaviour
Once the host has rebooted, in that container a reboot is no longer requested, from which we can deduce that the pending update has applied, which implies that as intended a reboot took effect there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions