+++ This bug was initially created as a clone of Bug #550239 +++ Description of problem: /etc/sudoers contains a couple of unused aliases, which make visudo unhappy (or really angree with -s) Version-Release number of selected component (if applicable): sudo-1.7.2p1-1.el5 How reproducible: always Steps to Reproduce: 1. visudo -c -s (with stock /etc/sudoers) Actual results: Error Expected results: $? == 0 Additional info: this fails installation of application that edits sudoers automatically, but assumes that all errors/warnings in the file are its own. visudo is stricter than in RHEL-5.4, but that causes us a regression.
Created attachment 394748 [details] proposed patch
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0212.html