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

Add journaling for image finalization and firstboot #452

Open
cgwalters opened this issue Apr 1, 2024 · 0 comments
Open

Add journaling for image finalization and firstboot #452

cgwalters opened this issue Apr 1, 2024 · 0 comments
Labels
area/updates Related to upgrading between versions enhancement New feature or request

Comments

@cgwalters
Copy link
Collaborator

It'd be useful for auditing purposes for us to emit journal messages on at least the first time a particular deployment is booted, including substantial metadata (basically at least all the image stuff: pull spec, digest, version, etc.).

We might as well also do this as part of ostree-finalize-staged.service. Today these services run C code from libostree which is unaware of the container bits, so to fix this we could either patch that code to be aware of the container refs (or call into ostree container commands if available, i.e. we put the logic in ostree-ext?). But this conflicts a bit with us doing the podman pull backend, so instead we could add units here (triggered by our new generator?) that "hook" ostree-boot-complete.service and ostree-finalize-staged.service via drop-ins say.

@cgwalters cgwalters added enhancement New feature or request area/updates Related to upgrading between versions labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/updates Related to upgrading between versions enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant