Why after updating to rhel 7.6 home directory automounts have stopped working.
Environment
- Red Hat Enterprise Linux 7.6
- LDAP
- autofs-5.0.7-99.el7.x86_64
Issue
- All home directory automounts have stopped working after updating to rhel 7.6
- The mount attempts are causing a segmentation fault in automount.
Resolution
- Downgrade krb5 relates packages.
# yum downgrade krb5-libs-1.15.1-19.el7.x86_64 krb5-workstation-1.15.1-19.el7.x86_64 libkadm5-1.15.1-19.el7.x86_64
Root Cause
- Older krb5 libraries were not linked to openssl but latest are linked.
- "ldd /usr/sbin/automount" command shows that the krb5 libraries are related.
- segfault would be a regression caused by a previous Bugzilla. ( 1570600 - krb5-libs uses slow crypto implementation)
- Further investigation is being tracked under 1644933 bugzilla and currently being tested by our QA Team.
Diagnostic Steps
- In /var/log/messages, we can see error like
kernel: automount[13437]: segfault at 7fc4a54a03 ip 00007fc4a691c sp 00007fc4a0f452 error 4 in libcrypto.so.1.0.2k[7fc4a67f500+23400]
- Start the debug for autofs.
# automount -dvf
- Enable core dump so that core dump gets generated after segmentation fault error occurs.
How to enable core file dumps when an application crashes or segmentation faults - Once the coredump is generated, please provide it to RedHat for analysis.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments