Skip to content

uninstall-devices fails early #12

@edbaunton

Description

@edbaunton

Currently if your chroot gets into a bad state where not all the devices were cleanly uninstalled, you cannot easily fix it. The --uninstall-devices is
not best effort and bails after failing the first one.

For example, /dev/shm can be busy so when it is attempted to be unlinked it fails. This then leaves all the other devices installed.

Expected behavior
--uninstall-devices does not give up as soon as the first uninstall fails. Rather it should warn and then ultimately return non-zero.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions