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

ansible: mask systemd-binfmt service on qemu-user-static install #145

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

theihor
Copy link
Contributor

@theihor theihor commented Oct 11, 2024

No description provided.

@theihor theihor requested a review from chantra October 11, 2024 23:31
Copy link
Collaborator

@chantra chantra left a comment

Choose a reason for hiding this comment

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

not a big deal, but you can probably remove that register keyword.

ansible/roles/qemu-user-static/tasks/main.yml Outdated Show resolved Hide resolved
@chantra
Copy link
Collaborator

chantra commented Oct 12, 2024

Also adding more details to the patch/PR description will help a potential future person to understand why the decision was made to mask that service.

systemd-binfmt service [1], provided by systemd Ubuntu package [2] is
in conflict with our custom one-shot qemu-user-static service.

Recently an automated update of python3.12 on s390x BPF CI hosts
triggered a restart of systemd-binfmt, which broke the test runners.

Masking systemd-binfmt service shoud prevent similar runner failures
in the future.

Ideally we'd want to switch to systemd-binfmt. However currently it
doesn't work for us: on s390x qemu segfaults with standard
qemu-user-static binaries, as opposed to qus [3] container we're
currently using.

[1]: https://www.freedesktop.org/software/systemd/man/latest/systemd-binfmt.service.html
[2]: https://manpages.ubuntu.com/manpages/noble/man8/systemd-binfmt.service.8.html
[3]: https://github.com/dbhi/qus
@theihor
Copy link
Contributor Author

theihor commented Oct 15, 2024

Also adding more details to the patch/PR description will help a potential future person to understand why the decision was made to mask that service.

Updated commit message. Please let me know if I missed anything important.

@theihor theihor requested a review from chantra October 15, 2024 16:38
@chantra
Copy link
Collaborator

chantra commented Oct 15, 2024

LGTM. Feel free to land whenever.

@theihor theihor merged commit f605c62 into libbpf:main Oct 16, 2024
14 checks passed
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