Bug 671 - sudo-1.8.11 exits immediately with an error when audit is disabled on Linux
sudo-1.8.11 exits immediately with an error when audit is disabled on Linux
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.11
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-13 00:05 MDT by Ralph Loader
Modified: 2015-02-09 15:13 MST (History)
0 users

See Also:


Attachments
Fix logic bug when unable to open audit device (652 bytes, patch)
2014-10-13 08:31 MDT, Todd C. Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Loader 2014-10-13 00:05:25 MDT
See https://bugzilla.redhat.com/show_bug.cgi?id=1151780

Just to clarify the original report - sudo exists with exit code 1 but does not run the command or print any error.

I'm guessing that this is a consequence of http://www.sudo.ws/repos/sudo/rev/7ca1c9857058
Comment 1 Todd C. Miller 2014-10-13 08:31:06 MDT
Created attachment 433 [details]
Fix logic bug when unable to open audit device

The attached patch fixes the problem for me.
Comment 2 Todd C. Miller 2015-02-09 15:13:20 MST
Fixed in sudo 1.8.12, available now.