Race condition when creating /var/log/sudo-io directory
Issue
sudo fails after enabling sudo io login. The following error is seen when attempt to sudo'ing:
$ sudo bash
[sudo] password for <username>:
sudo: unable to create /var/log/sudo-io/<username>/00/00/02: File exists
sudo: error initializing I/O plugin sudoers_io
Environment
RHEL7.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.