/etc/sudoers.d/99-snapd.conf is ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
snapd package installs a "/etc/sudoers.
However, for some (undocumented or poorly documented) reason, files with dots are ignored by sudo. Thus, "/etc/sudoers.
See: https:/
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.
description: | updated |
Changed in snapd (Ubuntu): | |
status: | Incomplete → Fix Released |
This was fixed in snapd 2.46. The file is no longer shipped by the snapd package. Does it still exist in your system?