#1108 Brew hangs on SSL cert permission issues
Closed: Fixed Opened by stephenfin.

I was finding all brew commands were hanging for an inordinate amount of time. After running strace brew hello, I noticed the following:

openat(AT_FDCWD, "/etc/pki/tls/certs/2015-RH-IT-Root-CA.pem", O_RDONLY) = -1 EACCES (Permission denied)

However, this was only bubbled up to the user with the following message (after a lengthy interval).

Error: [('system library', 'fopen', 'Permission denied'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]

It would be nice if brew could catch this issue earlier and just tell the user.


PR #1111

Commit 41593d6a fixes this issue

Commit 0fecbc96 fixes this issue

Metadata Update from @mikem:
- Issue set to the milestone: 1.17

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1108

Please continue any further discussion there.

Metadata
Related Pull Requests