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

pkg/init: Mount /sys/fs/bpf #3516

Merged
merged 1 commit into from
May 6, 2020
Merged

Conversation

errordeveloper
Copy link
Contributor

- Description for the changelog

pkg/init: mount /sys/fs/bpf (fix docker/for-mac#4454)

@errordeveloper
Copy link
Contributor Author

Not sure why CI is failing, the error seems certainly unrelated:

[STDERR  ] 2020-05-05T13:29:53.917435298Z: /home/runner/work/linuxkit/src/github.com/linuxkit/linuxkit/test/cases/group.sh: 15: /home/runner/work/linuxkit/src/github.com/linuxkit/linuxkit/test/cases/group.sh: rt_label_set: not found

@errordeveloper
Copy link
Contributor Author

I wonder if I should update any of the examples, and if so, the question is - which ones?

Copy link
Collaborator

@deitch deitch left a comment

Choose a reason for hiding this comment

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

LGTM. Let's get the image pushed out and CI renewed, and when it is green, we can merge it in.

@deitch
Copy link
Collaborator

deitch commented May 6, 2020

I wonder if I should update any of the examples, and if so, the question is - which ones?

Did you run the scripts/update-component-sha.sh?

@deitch
Copy link
Collaborator

deitch commented May 6, 2020

Nope, looks like you did not. Let's do that.

@deitch
Copy link
Collaborator

deitch commented May 6, 2020

Looking better now. Image is almost pushed out.

@deitch
Copy link
Collaborator

deitch commented May 6, 2020

Image is out.

@deitch deitch closed this May 6, 2020
@deitch deitch reopened this May 6, 2020
@errordeveloper
Copy link
Contributor Author

@deitch is rt_label_set function missing because of the image?

NOTE: This will be a shared mount, due to root being turned into a
shared with `MC_REC` set: `mount("", "/", "", rec|shared, "")`.
For some reason setting `shared` when mounting `/sys/fs/bpf` doesn't
work at all, perhaps that's just a kernel feature.

Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
@errordeveloper
Copy link
Contributor Author

@deitch CI is getting greener 🎉

@deitch
Copy link
Collaborator

deitch commented May 6, 2020

Yup. That last one takes a long time to run, can be 60+ minutes (lots of building OSes and running them and tearing them down). When it clears green, we can merge this in.

@deitch deitch merged commit c29056a into linuxkit:master May 6, 2020
@errordeveloper errordeveloper deleted the mount-sys-fs-bpf branch May 6, 2020 12:36
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.

/sys/fs/bpf not mounted
2 participants