[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2217: SandboxViolation: mkdir('/usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/__pycache__', 511) {}

Tahoe-LAFS trac at tahoe-lafs.org
Tue Apr 15 16:27:10 UTC 2014


#2217: SandboxViolation: mkdir('/usr/lib/python2.7/site-
packages/cryptography/hazmat/bindings/__pycache__', 511) {}
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  daira
  aredridel              |     Status:  assigned
         Type:  defect   |  Milestone:  undecided
     Priority:  normal   |    Version:  1.10.0
    Component:           |   Keywords:  setuptools distribute build cffi
  packaging              |  cryptography
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 Okay I asked dstufft and others on IRC and I think I understand answers to
 these:

 Replying to [comment:23 zooko]:
 >
 > 1. Why is it trying to write a cache file into your read-only system-
 wide filesystem if it is already installed?

 I suspect that this is because cffi tries to build hazmat as a side-effect
 of someone trying to import pyOpenSSL.

 > 2. Why is it doing ''anything'' with pyOpenSSL 0.14 when we've already
 specified that pyOpenSSL 0.14 is unacceptable for our version
 requirements?

 I suspect that this is because pkg_resources tries to import "OpenSSL" as
 a side-effect of trying to check what version(s) of pyOpenSSL are
 available.

 aridredel: please go ahead and remove pyOpenSSL 0.14 from your system, and
 test the patch with {{{"pyOpenSSL <= 0.13"}}}. Thank you very much for
 your help!

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2217#comment:24>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list