Skip to content

disk: drop static UUIDs in defs#1922

Merged
supakeen merged 5 commits into
osbuild:mainfrom
supakeen:part-uuid
Oct 7, 2025
Merged

disk: drop static UUIDs in defs#1922
supakeen merged 5 commits into
osbuild:mainfrom
supakeen:part-uuid

Conversation

@supakeen

@supakeen supakeen commented Oct 3, 2025

Copy link
Copy Markdown
Member

We have long had a comment in our YAML definitions to drop the UUIDs and have them be autogenerated. This PR does so.

@supakeen supakeen changed the title disk: drop static UUIDs in defs, use DPS (HMS-9456) disk: drop static UUIDs in defs Oct 6, 2025
@supakeen supakeen marked this pull request as ready for review October 6, 2025 15:08
@supakeen supakeen requested a review from a team as a code owner October 6, 2025 15:08
@supakeen supakeen requested review from croissanne, lzap and mvo5 October 6, 2025 15:08

@mvo5 mvo5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Removing this for fedora makes a lot of sense, I'm a bit hesitant for rhel, especially the older rhel releases.

@supakeen

supakeen commented Oct 6, 2025

Copy link
Copy Markdown
Member Author

Removing this for fedora makes a lot of sense, I'm a bit hesitant for rhel, especially the older rhel releases.

What causes the hesitation?

@mvo5

mvo5 commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

Removing this for fedora makes a lot of sense, I'm a bit hesitant for rhel, especially the older rhel releases.

What causes the hesitation?

Nothing too specific, I remember we talked about it in the past (c.f. #816 and #823 and particularly #823 (comment)) and the history was that there was a bit of worry about older rhel and that people might depend on this.

Fwiw, I have no strong opinion here, hardcoding the UUIDs is weird but given how long this is around its hard to know who might rely on it.

@supakeen

supakeen commented Oct 6, 2025

Copy link
Copy Markdown
Member Author

Removing this for fedora makes a lot of sense, I'm a bit hesitant for rhel, especially the older rhel releases.

What causes the hesitation?

Nothing too specific, I remember we talked about it in the past (c.f. #816 and #823 and particularly #823 (comment)) and the history was that there was a bit of worry about older rhel and that people might depend on this.

Fwiw, I have no strong opinion here, hardcoding the UUIDs is weird but given how long this is around its hard to know who might rely on it.

Yea, very true. If we want to I can drop the commits for RHEL 7/8(/9?), let's see what the feeling is :)

@supakeen supakeen requested review from achilleas-k and thozza October 6, 2025 15:29
Drop the static UUIDs defined in the distro definitions. Note that the
changes to the manifest checksums are only related to the PRNG now being
called more often and thus having a different state from before.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Drop the static UUIDs defined in the distro definitions. Note that the
changes to the manifest checksums are only related to the PRNG now being
called more often and thus having a different state from before.

This also updates a UUID used in a test since the state of the PRNG is
different as it has generated *more UUIDs.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Drop the static UUIDs defined in the distro definitions. Note that the
changes to the manifest checksums are only related to the PRNG now being
called more often and thus having a different state from before.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Drop the static UUIDs defined in the distro definitions. Note that the
changes to the manifest checksums are only related to the PRNG now being
called more often and thus having a different state from before.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Drop the static UUIDs defined in the distro definitions. Note that the
changes to the manifest checksums are only related to the PRNG now being
called more often and thus having a different state from before.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm in favour of dropping these. I don't think it's a problem to do in older RHEL distros either. One downside I can see is that sometimes when troubleshooting issues with images "in the wild", they were a good indicator of an image built using IB, but that's a silly reason to keep them. :)

If we want to do first-boot UUID initialisation, we can plan for that separately.

@bcl bcl left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good!

@supakeen supakeen added this pull request to the merge queue Oct 7, 2025
Merged via the queue into osbuild:main with commit 00ffd32 Oct 7, 2025
23 checks passed
@supakeen supakeen deleted the part-uuid branch October 7, 2025 06:15
github-merge-queue Bot pushed a commit that referenced this pull request Oct 10, 2025
There were some left over UUIDs in the ARM Minimal partition table that
were missed in [1]. Let's remove them here.

[1]: #1922

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
mvo5 pushed a commit to mvo5/images that referenced this pull request Oct 10, 2025
There were some left over UUIDs in the ARM Minimal partition table that
were missed in [1]. Let's remove them here.

[1]: osbuild#1922

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
mvo5 added a commit to mvo5/images that referenced this pull request Oct 10, 2025
See osbuild#1922 - this commit
does the same for bootc images.
mvo5 added a commit to mvo5/images that referenced this pull request Oct 10, 2025
See osbuild#1922 - this commit
does the same for bootc images.
mvo5 added a commit to mvo5/images that referenced this pull request Oct 10, 2025
See osbuild#1922 - this commit
does the same for bootc images.
mvo5 added a commit to mvo5/images that referenced this pull request Oct 27, 2025
See osbuild#1922 - this commit
does the same for bootc images.
mvo5 added a commit to mvo5/images that referenced this pull request Oct 27, 2025
See osbuild#1922 - this commit
does the same for bootc images.
github-merge-queue Bot pushed a commit that referenced this pull request Oct 29, 2025
See #1922 - this commit
does the same for bootc images.
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.

4 participants