Bug 2148445 - kernel-install doesn't read /etc/machine-id properly when building OS images
Summary: kernel-install doesn't read /etc/machine-id properly when building OS images
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-25 14:15 UTC by Neal Gompa
Modified: 2022-11-25 14:57 UTC (History)
15 users (show)

Fixed In Version: systemd-252.2-591.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2148450 2148464 (view as bug list)
Environment:
Last Closed: 2022-11-25 14:28:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Neal Gompa 2022-11-25 14:15:13 UTC
Description of problem:
When building appliance images for Fedora Linux, kernel-install does not correctly handle the case for an empty /etc/machine-id, nor does it handle when the file is set with the value "uninitialized" correctly.

This causes problems when trying to build images with kiwi using systemd-boot and may cause issues in other image build tools as well.

Version-Release number of selected component (if applicable):
252.1-588.fc38

Additional info:
While this bug is filed against Rawhide, it affects all Fedora releases.

There are two upstream commits to fix this:
* https://github.com/systemd/systemd/commit/883e7cbfc0dba6c81338e7924419b5cbb0cba0b2
* https://github.com/systemd/systemd/commit/305dd91adfde332e7e5c1b2470edb32774f9a032

Comment 1 Zbigniew Jędrzejewski-Szmek 2022-11-25 14:28:52 UTC
This should be fixed already.

Comment 2 Neal Gompa 2022-11-25 14:56:19 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #1)
> This should be fixed already.

For F36 and F37 too?

Comment 3 Zbigniew Jędrzejewski-Szmek 2022-11-25 14:57:14 UTC
No, just for rawhide.


Note You need to log in before you can comment on or make changes to this bug.