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

Difficulty jailing Inkscape #3

Open
skycafemix opened this issue Oct 17, 2017 · 1 comment
Open

Difficulty jailing Inkscape #3

skycafemix opened this issue Oct 17, 2017 · 1 comment

Comments

@skycafemix
Copy link

Hello, I had difficulty trying to jail Inkscape 0.92.2 on Mac OS 10.12.6. Please let me know if I am using incorrectly.
sudo ./mkjail inkscape
mv ../../UntrustedApplications/Inkscape.app /jail/inkscape/
./addtojail /jail/inkscape/Inkscape.app/Contents/MacOS/Inkscape
sudo ./mkjail inkscape
I get the sh shell
./Inkscape.app/Contents/MacOS/Inkscape
From here, I start getting errors due to addtojail not having picked up all the frameworks that were needed.
I added in a few of them to the mkjail.files manually, and finally just ended up copying the entire Frameworks directory (2GB).
Finally I got this error at which I am stumped. I guess quartz library is also missing.
Assertion failed: (skylight_handle != NULL), function __get_skylight_handle_block_invoke, file /Library/Caches/com.apple.xbs/Sources/Quartz2D/Quartz2D-1070.22/CoreGraphics/Services/Connection/SLShim.c, line 26.
FWIW, I also tried with GIMP but that just hung.
I gave up at this point. It would be really useful to provide some brief documentation for people to get started.
Thanks for your efforts and best regards!

@jasmas
Copy link

jasmas commented Jan 30, 2019

Try:

find Inkscape.app -perm +111 -type f -print0 | xargs -n 1 -0 ./addtojail

The bundle has many executable libraries in it

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

No branches or pull requests

2 participants