Sudo hangs when IO logging is enabled

Solution Verified - Updated -

Issue

When sudo is configured with IO logging enabled and a command that produces output to terminal is run, it does sometimes hang in a poll() system call indefinitely. Only sending a SIGKILL to the main sudo process terminates it.
Sometimes the child process (the actual command being run in sudo) is left in a zombie (Z) state.

Environment

  • Red Hat Enterprise Linux 7.4
  • sudo-1.8.19p2 with IO logging enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.