Description of problem: Sudo segfaults when #include directive is used in cycles. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Create new file (for example: /etc/sudoers.local (mode 0440)). 2. Edit this new file and set: - user privileges (for example: operator ALL=(ALL) ALL) - #include /etc/sudoers 3. edit /etc/sudoers and set: #include /etc/sudoers.local 4. run command under sudo (for example: sudo) Actual results: Memory stack is printed and it segfaults. Expected results: Warning message expected with no segfault. Additional info:
thread on sudo-workers mailing list: http://www.sudo.ws/pipermail/sudo-workers/2010-February/000702.html
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