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

Allow relaxing machine-id matching for /var partitions #121

Open
septatrix opened this issue Oct 6, 2024 · 0 comments
Open

Allow relaxing machine-id matching for /var partitions #121

septatrix opened this issue Oct 6, 2024 · 0 comments

Comments

@septatrix
Copy link

The current spec mandates that var-partitions are only mounted "under the condition that its partition UUID matches the first 128 bits of HMAC-SHA256(machine-id, 0x4d21b016b53445c2a9fb5c16e091fd2d)".

This is problematic for image-based appliances with a hermetic usr-partition and a tmpfs for root. In that scenario there is no sensible way to persist the machine-id. Especially for single-OS installations the requirement that the machine-id and partition UUID must match is useless and one should be able to ignore that. This could be for example a new partition type or a GPT flag.

Somewhat related is where I already explained a possible solution using a GPT flag: #117 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant