FS#29938 - sudo 1.8.5-1 doesn't honor #includedir for sudoers.d directory
Attached to Project:
Arch Linux
Opened by Muflone (muflone) - Friday, 18 May 2012, 13:36 GMT
Last edited by Ionut Biru (wonder) - Friday, 18 May 2012, 13:55 GMT
Opened by Muflone (muflone) - Friday, 18 May 2012, 13:36 GMT
Last edited by Ionut Biru (wonder) - Friday, 18 May 2012, 13:55 GMT
|
Details
Description:
Upgrading sudo from 1.8.4.p4-1 to 1.8.5-1 the sudoers.d directory (specified in the default /etc/sudoers file) is not read anymore. Additional info: * package version(s) testing/sudo 1.8.5-1 * config and/or log files etc. In /etc/sudoers the last line is: #includedir /etc/sudoers.d In my /etc/sudoers.d/ I have a single file called 00-root which contains: root ALL=(ALL) ALL Steps to reproduce: Copy the 00-root file in /etc/sudoers.d and make sure the /etc/sudoers has the #includedir to include the sudoers.d directory. Execute strace -e trace=file sudo whoami and look the used files, there's no trace of /etc/sudoers.d/00-root and the error "root in not in the sudoers file." is shown. Reverting the sudo package to the 1.8.4.p4-1 version everything works fine again. |
This task depends upon
Closed by Ionut Biru (wonder)
Friday, 18 May 2012, 13:55 GMT
Reason for closing: Fixed
Additional comments about closing: sudo 1.8.5.p1-1
Friday, 18 May 2012, 13:55 GMT
Reason for closing: Fixed
Additional comments about closing: sudo 1.8.5.p1-1
00-root (0 KiB)