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

Composefs followups #2872

Merged
merged 4 commits into from
Jun 7, 2023
Merged

Conversation

cgwalters
Copy link
Member

mount-util: Add missing O_CLOEXEC

Seen in review.


composefs: Factor out a shared helper for setting error

To keep the error messages consistent.


else
{
#ifdef USE_LIBSYSTEMD
sd_journal_send ("MESSAGE=Mounted composefs (signed: %d)", (int)using_composefs_signature, NULL);
Copy link
Member

Choose a reason for hiding this comment

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

This is not quite right. using_composefs_signature is only set if we applied the signature this boot, which only happens on the first boot of this deployment.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe just drop that part, i'm looking at reworking the signature handling.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, dropped.

- Hoist the `.ostree.cfs` to a shared constant
- Add more logging in general for extra visibility
Copy link
Member

@alexlarsson alexlarsson left a comment

Choose a reason for hiding this comment

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

LGTM

@alexlarsson alexlarsson merged commit 0a3dd22 into ostreedev:main Jun 7, 2023
19 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.

None yet

2 participants