Bug 1033

Summary: Issue with yum when log_subcmds is enabled
Product: Sudo Reporter: bob.schwartz
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: ASSIGNED ---    
Severity: normal    
Priority: low    
Version: 1.9.10   
Hardware: All   
OS: Linux   

Description bob.schwartz 2022-06-07 10:00:25 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.
Comment 1 Todd C. Miller 2022-06-07 12:25:33 MDT
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.
Comment 2 Todd C. Miller 2022-06-08 10:46:47 MDT
Can you try sudo 1.9.11p1?  That should use ptrace for log_subcmds instead of LD_PRELOAD.