On ke, 06 marras 2019, Miro Hrončok wrote:
On 06. 11. 19 0:26, Michael Cronenworth wrote:
On 11/5/19 4:59 PM, Kevin Kofler wrote:
… and Calamares …
... and Domoticz (Fedora), and Kodi (RPMFusion)...
Will this be as simple as a BR change in the spec or will
application patches be necessary?
Not for most cases. See this list:
Python extension modules that currently are unnecessary linked to libpython
- changes to cmake/autotools are needed, a sed in spec might do
- if not changed, still works, but drags in the extra 3.4 MB (shared)
Non-extension software embedding Python and linking to libpython
- no changes necessary at all
- but drags in the extra 3.4 MB (shared)
Python extension modules embedding Python and linking to libpython
- needs to be evaluated case by case
- changes to cmake/autotools are needed
- changes in code might be necessary as well
- if not changed, might misbehave
- Python Maint will provide help if asked for
Do you have a list of affected packages?
Samba (and thus SSSD and FreeIPA) is affected. It is pretty fundamental
that Samba modules link to libpython and I think it was designed so by
you guys (Python team at Red Hat) when we ported Samba bindings to Python3.
# find /usr/lib64/python3.7/site-packages/samba -name '*.so' | xargs -n1 -I '{}' sh -c "ldd {} | egrep -q libpython && echo 'LINKED: {}' "
LINKED: /usr/lib64/python3.7/site-packages/samba/_glue.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/_ldb.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/auth.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/werror.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/credentials.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/crypto.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/winbind.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/atsvc.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/windows_event_ids.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/auth.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/winreg.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/base.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/winspool.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/dcerpc.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/dfs.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/dns.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/dnsp.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/drsblobs.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/drsuapi.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/echo.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/epmapper.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/idmap.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/initshutdown.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/irpc.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/krb5pac.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/lsa.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/messaging.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/mgmt.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/misc.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/nbt.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/netlogon.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/ntlmssp.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/preg.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/samr.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/security.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/server_id.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/smb_acl.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/spoolss.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/srvsvc.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/svcctl.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/unixinfo.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/witness.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/wkssvc.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/dcerpc/xattr.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/gensec.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/gpo.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/messaging.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/net.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/netbios.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/ntstatus.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/param.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/policy.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/posix_eadb.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/registry.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/samba3/libsmb_samba_internal.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/samba3/param.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/samba3/passdb.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/samba3/smbd.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/security.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/xattr_native.cpython-37m-x86_64-linux-gnu.so
LINKED: /usr/lib64/python3.7/site-packages/samba/xattr_tdb.cpython-37m-x86_64-linux-gnu.so
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx