Package: sudo Version: 1.8.20p2-1 Severity: important Dear Maintainer, I have just wasted a couple of hours trying to figure out why the #includedir directive wasn't loading my extra files.
Using strace I could see that it wasn't even trying to stat() them. It turns out that filenames like blabla-blabla.conf are not considered. It would be nice if the accepted format would be documented in the README located in /etc/sudoers.d Possibly, it would be even better to remove this limitation upstream. Best -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8), LANGUAGE=it (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages sudo depends on: ii libaudit1 1:2.6.7-2 ii libc6 2.24-11 ii libpam-modules 1.1.8-3.6 ii libpam0g 1.1.8-3.6 ii libselinux1 2.6-3+b1 ii lsb-base 9.20161125 sudo recommends no packages. sudo suggests no packages. -- Configuration Files: /etc/sudoers [Errno 13] Permesso negato: '/etc/sudoers' /etc/sudoers.d/README [Errno 13] Permesso negato: '/etc/sudoers.d/README' -- no debconf information