bootc-dev / bootc-dev/bootc

Better error message for unprivileged bootc usroverlay

Open
#979 3 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
Rust
Stars
2.3k
Forks
230
Avg merge
3d 12h
Merged PRs (30d)
38

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.