[Bug 1915156] Re: sudoers file ignored
Yes, it looks like dpkg sets up the file to be tracked as part of snapd package. $ dpkg -l snapd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionArchitecture Description +++-==-==-- ii snapd 2.45.1+20.04.2 amd64Daemon and tooling that enable snap packages $ dpkg -L snapd |grep sudoer /etc/sudoers.d /etc/sudoers.d/99-snapd.conf $ apt upgrade snapd -y ... $ dpkg -l snapd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
[Bug 1915156] Re: sudoers file ignored
I upgraded snapd, but the file is still here : $ dpkg -l snapd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-p> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==---==> ii snapd 2.48.3+20.04 amd64Daemon and tooling that enable> $ sudo ls -l /etc/sudoers.d/99-snapd.conf -r--r- 1 root root 91 Jul 10 2020 /etc/sudoers.d/99-snapd.conf $ dpkg -S /etc/sudoers.d/99-snapd.conf snapd: /etc/sudoers.d/99-snapd.conf $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 20.04.2 LTS Release:20.04 Codename: focal Perhaps it's not removed on upgrades ? ** Changed in: snapd (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915156 Title: sudoers file ignored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1915156/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915156] Re: sudoers file ignored
Can you double check the package version? The bug was fixed in 2.46+. It was still in 2.45.1 which got originally shipped in 20.04, but has since been replaced by newer versions of the snapd package without the sudoers drop in file. ** Changed in: snapd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915156 Title: sudoers file ignored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1915156/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs