Skip to content

Conversation

@keszybz
Copy link
Member

@keszybz keszybz commented Aug 17, 2022

Fixes #118.

a2 = uuid.uuid1()

with skip_oserror(errno.ENOSYS):
# yikes, python2 doesn't know ENOMEDIUM
Copy link
Member

Choose a reason for hiding this comment

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

Given the other PR, maybe merge it first and use enomedium here?

Copy link
Member Author

Choose a reason for hiding this comment

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

I want this patch to be backportable without conflicts… This workaround an be dropped later.

@mrc0mmand
Copy link
Member

Since initializing /etc/machine-id for the tests to pass shouldn't be necessary anymore, can you drop

# Initialize /etc/machine-id if it's empty to make the tests happy
[[ ! -s /etc/machine-id ]] && systemd-id128 new >/etc/machine-id
from the CI stuff?

@keszybz
Copy link
Member Author

keszybz commented Aug 17, 2022

OK, the tests pass, and with the second commit, we know that we're testing without machine-id, so I'm pretty sure this resolved the original issue.

@keszybz keszybz merged commit 661ee27 into systemd:main Aug 17, 2022
@keszybz keszybz deleted the sd128-tests branch August 17, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants