For the moment, the problem can be worked around by installing older
packages, but it is not really a supported configuration: the older
package was built for Ubuntu 22.04.

I agree that upstream should make a decision first, but it seems that
they are not yet convinced whether reverting will cause other issues.

Indeed it looks like /sbin/ldconfig is a bit of a special case, and the
versions shipped in some Ubuntu releases work, while others segfault
(the permission error is fine, as my non-privileged user cannot write
/etc):

ldconfig.real.focal     ldconfig.real.focal: Can't create temporary cache file 
/etc/ld.so.cache~: Permission denied
ldconfig.real.groovy    ldconfig.real.groovy: Can't create temporary cache file 
/etc/ld.so.cache~: Permission denied
ldconfig.real.hirsute   Segmentation fault (core dumped)
ldconfig.real.impish    Segmentation fault (core dumped)
ldconfig.real.jammy     Segmentation fault (core dumped)
ldconfig.real.kinetic   ldconfig.real.kinetic: Can't create temporary cache 
file /etc/ld.so.cache~: Permission denied
ldconfig.real.lunar     ldconfig.real.lunar: Can't create temporary cache file 
/etc/ld.so.cache~: Permission denied
ldconfig.real.mantic    ldconfig.real.mantic: Can't create temporary cache file 
/etc/ld.so.cache~: Permission denied
ldconfig.real.noble     ldconfig.real.noble: Can't create temporary cache file 
/etc/ld.so.cache~: Permission denied
ldconfig.real.oracular  ldconfig.real.oracular: Can't create temporary cache 
file /etc/ld.so.cache~: Permission denied

So the 'window' of bad ldconfig versions is from hirsute (21.04) through
jammy (22.04). After that, the problem seems to disappear.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072564

Title:
  qemu-aarch64-static segfaults running ldconfig.real (amd64 host)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2072564/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to