Skip to content

Better error message for unprivileged bootc usroverlay #979

Open
@LukeShortCloud

Description

@LukeShortCloud

The error message for running bootc usroverlay as a non-root user does not make much sense.

$ bootc usroverlay
error: Read-only file system
$ sudo bootc usroverlay
Development mode enabled.  A writable overlayfs is now mounted on /usr.
All changes there will be discarded on reboot.

Perhaps it can suggest running as the root user instead.

There are also two spaces after the first sentence in the usroverlay message. I'm not sure if that's intentional or not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagedThis looks like a valid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions