Description of problem:
ldconfig segfaults if the /var/cache/ldconfig/aux-cache is corrupted.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 6
Steps to Reproduce:
1. Remove some entries from /var/cache/ldconfig/aux-cache to make corrupt file.
2. Run ldconfig to rebuild cache
Segmentation fault (core dumped)
ldconfig should check for corrupt cache and rebuild it again.
The workaround is to remove the aux-cache and re-run ldconfig. More importantly you need to determine the root cause of the filesystem corruption.
We are beyond the RHEL 6.8 planning phase and so this issue would move to be fixed in RHEL 6.9. However, RHEL 6.9 is in production phase 2, and this issue would not qualify for an urgent priority bug fix. Therefore I am closing this as CLSOED/WONTFIX.
We have cloned this issue to fix it in rhel-7.4.
(In reply to Carlos O'Donell from comment #1)
> We have cloned this issue to fix it in rhel-7.4.
Let me rephrase that as:
We have cloned this issue to consider addressing it in the RHEL-7 product.