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

"syscall to map cache into shared region failed" on GH-Actions on Big Sur and Monterey #2

Closed
slonopotamus opened this issue Apr 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@slonopotamus
Copy link
Collaborator

See https://github.com/slonopotamus/macos-jail/runs/6201584503?check_suite_focus=true#step:5:6

Run sudo chroot jail ls -l
[6](https://github.com/slonopotamus/macos-jail/runs/6201584503?check_suite_focus=true#step:5:6)
dyld: dyld cache load error: syscall to map cache into shared region failed
[7](https://github.com/slonopotamus/macos-jail/runs/6201584503?check_suite_focus=true#step:5:7)
dyld: Library not loaded: /usr/lib/libutil.dylib
[8](https://github.com/slonopotamus/macos-jail/runs/6201584503?check_suite_focus=true#step:5:8)
  Referenced from: /bin/ls
[9](https://github.com/slonopotamus/macos-jail/runs/6201584503?check_suite_focus=true#step:5:9)
  Reason: image not found
[10](https://github.com/slonopotamus/macos-jail/runs/6201584503?check_suite_focus=true#step:5:10)
/Users/runner/work/_temp/be9a7f4e-4ca5-44be-9287-6084a574fbb2.sh: line 1:  1505 Abort trap: 6           sudo chroot jail ls -l
[11](https://github.com/slonopotamus/macos-jail/runs/6201584503?check_suite_focus=true#step:5:11)
Error: Process completed with exit code 134.

Note that I am not observing this locally and can happily enter chroot on macOS 12.3.1 (Monterey).

@slonopotamus slonopotamus added the bug Something isn't working label Apr 27, 2022
@slonopotamus
Copy link
Collaborator Author

slonopotamus commented May 4, 2022

This happens because of SIP: containerd/containerd#5525 (reply in thread)

There's a request to disable SIP on GitHub Actions: actions/runner-images#650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant