Bug 1033 - Issue with yum when log_subcmds is enabled
Issue with yum when log_subcmds is enabled
Status: ASSIGNED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.9.10
All Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-07 10:00 MDT by bob.schwartz
Modified: 2022-06-08 10:46 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.