Skip to content

sys-apps/systemd: Backport v285.5 fix to handle missing /etc/machine-id#3771

Merged
chewi merged 1 commit intomainfrom
chewi/systemd-machine-id
Mar 4, 2026
Merged

sys-apps/systemd: Backport v285.5 fix to handle missing /etc/machine-id#3771
chewi merged 1 commit intomainfrom
chewi/systemd-machine-id

Conversation

@chewi
Copy link
Contributor

@chewi chewi commented Mar 4, 2026

sys-apps/systemd: Backport fix to handle missing machine-id

Otherwise it complains about this every time the SDK bash prompt appears.

-su: /etc/machine-id: No such file or directory

How to use

Rebuild systemd in the SDK and then re-enter the SDK. The error should stop appearing.

Testing done

I've done the above.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update) -- N/A
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc. -- N/A

@chewi chewi self-assigned this Mar 4, 2026
@chewi chewi requested a review from a team as a code owner March 4, 2026 10:34
Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

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

Any chance to add a small note in the patch itself or somewhere else to know that we can drop this patch as soon as we upgrade to >= 258.5?

Otherwise it complains about this every time the SDK bash prompt appears.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
@chewi chewi force-pushed the chewi/systemd-machine-id branch from 4fb8427 to 39cb481 Compare March 4, 2026 10:53
@chewi chewi merged commit 641d7d4 into main Mar 4, 2026
1 of 5 checks passed
@chewi chewi deleted the chewi/systemd-machine-id branch March 4, 2026 10:53
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.

2 participants