Bug 550326

Summary: shipped /etc/sudoers has "unused Cmnd_Alias DELEGATING"
Product: Red Hat Enterprise Linux 5 Reporter: Dan Kenigsberg <danken>
Component: sudoAssignee: Daniel Kopeček <dkopecek>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: amarecek, apevec, dkopecek, kzak, sgrubb, zmraz
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 550239 Environment:
Last Closed: 2010-03-30 08:17:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 550239    
Bug Blocks: 550008    
Attachments:
Description Flags
proposed patch none

Description Dan Kenigsberg 2009-12-24 14:34:27 UTC
+++ 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.

Comment 2 Daniel Kopeček 2010-02-17 15:28:25 UTC
Created attachment 394748 [details]
proposed patch

Comment 7 errata-xmlrpc 2010-03-30 08:17:02 UTC
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