Public bug reported: snapd package installs a "/etc/sudoers.d/99-snapd.conf" file.
However, for some (undocumented or poorly documented) reason, files with dots are ignored by sudo. Thus, "/etc/sudoers.d/99-snapd.conf" is ignored, but "/etc/sudoers.d/99-snapd" would work. See: https://askubuntu.com/a/1156564 Impact: There is little to no impact to snap usage. HOWEVER, there is a high impact on people trying to create their own sudoers files into /etc/sudoers.d/. People will see that file in there and will try to follow the same naming convention (00-foobar.conf), only to waste a lot of time scratching their heads to figure out why it doesn't work. Proposed solution: Rename that file, removing the dot from the filename. ** Affects: snapd (Ubuntu) Importance: Undecided Status: New ** Description changed: snapd package installs a "/etc/sudoers.d/99-snapd.conf" file. However, for some (undocumented or poorly documented) reason, files with dots are ignored by sudo. Thus, "/etc/sudoers.d/99-snapd.conf" is ignored, but "/etc/sudoers.d/99-snapd" would work. See: https://askubuntu.com/a/1156564 - Impact: There is little to no impact to snap usage. HOWEVER, there is a high impact on people trying to create their own sudoers files into /etc/sudoers.d/. People will see that file in there and will try to follow the same naming convention (00-foobar.conf), only to waste a lot of time scratching their heads to figure out why it doesn't work. - Proposed solution: - Renamed that file, removing the dot from the filename. + Rename that file, removing the dot from the filename. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901669 Title: /etc/sudoers.d/99-snapd.conf is ignored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1901669/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs