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

Add systemd support for rootless buildkitd #2473

Merged
merged 2 commits into from
Nov 23, 2021

Conversation

afbjorklund
Copy link
Contributor

  • Also add systemd notify support, for both.

This makes the unit start up faster and more reliable, using sd_notify:

https://www.freedesktop.org/software/systemd/man/systemd-notify.html

  • Use proxy and access all, for rootlesskit.

The file descriptors (3) are not passed on from rootlesskitd to buildkitd:

https://www.freedesktop.org/software/systemd/man/systemd-socket-proxyd.html

Also need to relax the pid checks, so that it accepts it not being the main:

buildkit.service: Got notification message from PID 211231, but reception only permitted for main PID 211211

Also add systemd notify support, for both.

Use proxy and access all, for rootlesskit.

Signed-off-by: Anders F Björklund <[email protected]>
@tonistiigi tonistiigi merged commit d5b7ce3 into moby:master Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants