(I have no idea where this problem actually occured; the "python3" component was just a guess.) After running: sudo dnf update container-selinux.x86_64 libselinux.x86_64 libselinux-devel.x86_64 libselinux-python.x86_64 libselinux-python3.x86_64 libselinux-ruby.x86_64 libselinux-utils.x86_64 rpm-plugin-selinux.x86_64 selinux-policy.noarch selinux-policy-devel.noarch selinux-policy-doc.noarch selinux-policy-targeted.noarch docker.x86_64 docker-common.x86_64 every use of python does this: rlpowell@vrici> sudo dnf list python /usr/libexec/system-python: relocation error: /lib64/libpython3.6m.so.1.0: symbol getentropy, version GLIBC_2.25 not defined in file libc.so.6 with link time reference This leaves me with no way to try to produce a minimal test case, as this is my only rawhide box and it can't run dnf. (Oh, I can't run fpaste to show you the output; yay.) Here's the complete dnf output: https://gist.github.com/anonymous/d247ebf946c1fbdffd771249a65777bc
Fixed it like so: yumdownloader glibc libcrypt-nss glibc-common glibc-langpack-en glibc-headers glibc-devel sudo rpm -U glibc-2.24.90-26.fc26.x86_64.rpm glibc-2.24.90-26.fc26.i686.rpm glibc-all-langpacks-2.24.90-26.fc26.x86_64.rpm glibc-common-2.24.90-26.fc26.x86_64.rpm glibc-langpack-en-2.24.90-26.fc26.x86_64.rpm libcrypt-nss-2.24.90-26.fc26.x86_64.rpm glibc-headers-2.24.90-26.fc26.x86_64.rpm glibc-devel-2.24.90-26.fc26.x86_64.rpm libcrypt-nss-2.24.90-26.fc26.i686.rpm So. Apparently y'all got a dependency problem.
Could you please show me output of: rpm -q python3 ?
rlpowell@vrici> rpm -q python3 python3-3.6.0-1.fc26.x86_64
There's an updated version that fixed some glibc related issues. However, i don't know how to test if it fixes the dependency thing.
This seems like the issue mentioned at #1410187 Could we confirm that this is fixed somehow? The fix and the build have been applied in rawhide.
# rpm -q system-python system-python-3.5.1-15.fc26.x86_64 # dnf update dnf ... pulls in new python3, but not glibc ... # rpm -q system-python system-python-3.6.0-3.fc26.x86_64 # rpm -q python3 python3-3.6.0-3.fc26.x86_64 # rpm -q glibc glibc-2.24.90-2.fc26.x86_64 # python3 python3: relocation error: /lib64/libpython3.6m.so.1.0: symbol getrandom, version GLIBC_2.25 not defined in file libc.so.6 with link time reference # dnf /usr/libexec/system-python: relocation error: /lib64/libpython3.6m.so.1.0: symbol getrandom, version GLIBC_2.25 not defined in file libc.so.6 with link time reference Indeed, this is a bug and python3 built with glibc >= 2.25 needs to require it. I wonder why this is not handled automatically.
Oh and it's glibc 2.24.90 not 2.25 as the error suggest :(
Or even 2.24.90-26.
I suppose we manually add: Requires: glibc >= 2.24.90-26 To system-python-libs.
Yes, that would be good.
All Pythons in rawhide probably needs this.
python2 and python33 remains to be fixed
Commits have been pushed for all the interpreters in rawhide to require glibc.
This change does not appear to have been needed for python2. Why was it made to that package?
Because it was rebuilded.