Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysroot: Add a clearer error if /boot/loader isn't found #1905

Closed
wants to merge 1 commit into from

Conversation

cgwalters
Copy link
Member

I've seen people confused by this error in the case where
/boot isn't mounted or the BLS fragments were deleted, etc.
If you understand ostree deeply it's clear but, let's do
better here and a direct error message for the case where
we can't find /boot/loader which is the majority of these.

The other case could happen if e.g. just the BLS fragment
for the booted deployment was deleted; let's reword that
one a bit too.

I've seen people confused by this error in the case where
`/boot` isn't mounted or the BLS fragments were deleted, etc.
If you understand ostree deeply it's clear but, let's do
better here and a direct error message for the case where
we can't find `/boot/loader` which is the majority of these.

The other case could happen if e.g. just the BLS fragment
for the booted deployment was deleted; let's reword that
one a bit too.
@rfairley
Copy link
Member

LGTM!

@rh-atomic-bot r+ 9081ed6

@rh-atomic-bot
Copy link

⚡ Test exempted: pull fully rebased and already tested.

r4f4 added a commit to r4f4/ostree that referenced this pull request Oct 25, 2019
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
d4s pushed a commit to d4s/ostree that referenced this pull request Nov 4, 2019
I've seen people confused by this error in the case where
`/boot` isn't mounted or the BLS fragments were deleted, etc.
If you understand ostree deeply it's clear but, let's do
better here and a direct error message for the case where
we can't find `/boot/loader` which is the majority of these.

The other case could happen if e.g. just the BLS fragment
for the booted deployment was deleted; let's reword that
one a bit too.

Closes: ostreedev#1905
Approved by: rfairley
r4f4 added a commit to r4f4/ostree that referenced this pull request Nov 11, 2019
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Nov 22, 2019
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Dec 20, 2019
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Jan 27, 2020
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Feb 4, 2020
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Feb 5, 2020
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Feb 20, 2020
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Apr 21, 2021
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request May 20, 2021
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
r4f4 added a commit to r4f4/ostree that referenced this pull request Aug 2, 2021
Fixes ostreedev#1905

Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants