Skip to content

internals: Add new (experimental) bootc internals fsck#1178

Merged
cgwalters merged 1 commit intobootc-dev:mainfrom
cgwalters:add-fsck
Mar 13, 2025
Merged

internals: Add new (experimental) bootc internals fsck#1178
cgwalters merged 1 commit intobootc-dev:mainfrom
cgwalters:add-fsck

Conversation

@cgwalters
Copy link
Copy Markdown
Collaborator

Split this out of the fsverity PR.

We obviously want a fsck command. This starts by doing just two checks:

  • A verification of etc/resolv.conf; this tests 98995f6
  • Just run ostree fsck

But obvious things we should be adding here are:

  • Verifying kargs
  • Verifying LBIs

etc.

@cgwalters cgwalters changed the title internals: Add new bootc internals fsck internals: Add new (experimental) bootc internals fsck Mar 7, 2025
Copy link
Copy Markdown
Collaborator

@jeckersb jeckersb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one nit about the header that is not a blocker

Split this out of the fsverity PR.

We obviously want a `fsck` command. This starts by doing
just two checks:

- A verification of `etc/resolv.conf`; this tests
  bootc-dev@98995f6
- Just run `ostree fsck`

But obvious things we should be adding here are:

- Verifying kargs
- Verifying LBIs

etc.

Signed-off-by: Colin Walters <walters@verbum.org>
@jeckersb
Copy link
Copy Markdown
Collaborator

Hmm hit the test_non_ostree thing now here. I think that's the first time I've seen it show up in the tests CI 😭

@cgwalters
Copy link
Copy Markdown
Collaborator Author

I tweaked this one a bit because I ended up wanting to use tokio as a threadpool, and so I made the main fsck entrypoint async (which it was in an earlier version of this).

@cgwalters
Copy link
Copy Markdown
Collaborator Author

/packit test

@cgwalters cgwalters enabled auto-merge March 13, 2025 12:34
@cgwalters cgwalters merged commit 154a808 into bootc-dev:main Mar 13, 2025
8 checks passed
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.

2 participants