STINNER Victor <vstin...@python.org> added the comment:

Should the rpath be set on OpenSSL, on the Python ssl module, or on the Python 
executable?

> no (default): don't set an rpath

If most users get it wrong, why not using "auto: auto-detect rpath from 
OPENSSL_LDFLAGS (--with-openssl or pkg-config)" by default?

The Fedora packaging disallows the usage of rpath.

All I need about rpath is that it can be dangerous in some cases, but I forgot 
about the details. For example, on Fedora, if OpenSSL is installed in the 
regular /usr/lib64/libssl.so directory, rpath must not be used. Otherwise, it 
can lead to crash, bugs or vulnerabilities.

Fedora, Python and rpath:

* https://pagure.io/packaging-committee/issue/886
* https://bugs.python.org/issue36659#msg340731

Tell me if you need more details about the issues when rpath is misued. But I 
need to ask my colleagues, I forgot the details.

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43466>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to