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

genkeys fails on Mac OS X #73

Open
ygravrand opened this issue Apr 13, 2015 · 2 comments
Open

genkeys fails on Mac OS X #73

ygravrand opened this issue Apr 13, 2015 · 2 comments

Comments

@ygravrand
Copy link

script/genkeys fails on Mac OS X (w boot2docker):

[>>] Generating a CA certificate.
/certificates/ca-key.pem: Protocol error
140498894571176:error:02001047:system library:fopen:Protocol error:bss_file.c:398:fopen('/certificates/ca-key.pem','w')
140498894571176:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:

Actually we can't even touch files into the container:

docker run --volume $$edited$$/cloudpipe/certificates:/certificates --rm cloudpipe/keymaster touch /certificates/foo
touch: cannot touch `/certificates/foo': Protocol error

Here are the permissions:

docker run --volume $$edited$$/cloudpipe/certificates:/certificates --rm cloudpipe/keymaster ls /certificates -lartn
total 8
-rw-r-----  1 1000 50  173 Apr 13 15:01 password
drwxr-xr-x  1 1000 50  102 Apr 13 15:01 .
drwxr-xr-x 34    0  0 4096 Apr 13 15:24 ..

When reverting d2527a5, it works again.

@kainz
Copy link
Contributor

kainz commented Apr 14, 2015

First guess: is said certificate directory mount in boot2docker happening over NFS, or a vjrtualbix shared folder? Can you share your boot2docker setup and whether you've done any custom vbox setup?

@rgbkrk
Copy link
Member

rgbkrk commented Apr 14, 2015

It's the default boot2docker setup that gets installed by homebrew. What pieces would I need to pull out? AFAIK, it's a virtualbox shared folder.

Side note: Are you around for PyCon sprints? Several people are working on the cloudpickle fork right now and want to sprint on cloudpipe itself too.

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

3 participants