Bugzilla – Bug 1033
Issue with yum when log_subcmds is enabled
Last modified: 2022-06-08 10:46:47 MDT
On RHEL 7, when running "yum check-update", yum will hang if running in a sudo shell and log_subcmds is enabled. Issue happens with both 1.9.10 and 1.9.11.
I can't reproduce this in a CentOS 7 VM. I did, however, find a bug that was preventing the RHEL 7 packages on sudo.ws from using ptrace for log_subcmds. There's a good chance that using ptrace instead of LD_PRELOAD will fix this problem.
Can you try sudo 1.9.11p1? That should use ptrace for log_subcmds instead of LD_PRELOAD.