Activity log for bug #1916562

Date Who What changed Old value New value Message
2021-02-23 04:35:22 Braden McGrath bug added bug
2021-02-23 04:42:16 Braden McGrath description lsb_release -rdc Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal apt-cache policy libnss-sss libnss-sss: Installed: 2.2.3-3ubuntu0.3 Candidate: 2.2.3-3ubuntu0.3 Version table: *** 2.2.3-3ubuntu0.3 500 500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 100 /var/lib/dpkg/status 2.2.3-3ubuntu0.1 500 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 2.2.3-3 500 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages libnss-sss has a postinst script that modifies /etc/nsswitch.conf and adds "sss" to many of the lines. (/var/lib/dpkg/info/libnss-sss:amd64.postinst) After running `apt remove libnss-sss`, the same lines are modified again in /etc/nsswitch.conf to remove the changes. If you then install libnss-sss again, nsswitch.conf is NOT re-modified on subsequent installs. libnss-sss will only re-modify /etc/nsswitch.conf if it has been purged first / "clean" install. Expectation: if config is changed *only* during initial install, then config should be left behind during a remove, and config only removed when the package is *purged*. The only exception I can think of is if there's some specific reason to want to back out the changes to /etc/nsswitch.conf any time libnss-sss is removed (but *not* purged)... and if this is the case, then I'd think maybe the postinst script should be *re-adding* "sss" to nsswitch.conf on *any* install/reinstall (even if it wasn't purged first). lsb_release -rdc Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal apt-cache policy libnss-sss libnss-sss:   Installed: 2.2.3-3ubuntu0.3   Candidate: 2.2.3-3ubuntu0.3   Version table:  *** 2.2.3-3ubuntu0.3 500         500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages         100 /var/lib/dpkg/status      2.2.3-3ubuntu0.1 500         500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages      2.2.3-3 500         500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages libnss-sss has a postinst script that modifies /etc/nsswitch.conf and adds "sss" to many of the lines. (/var/lib/dpkg/info/libnss-sss:amd64.postinst) After running `apt remove libnss-sss`, the same lines are modified again in /etc/nsswitch.conf to remove the changes. If you then install libnss-sss again, nsswitch.conf is NOT re-modified on subsequent installs. libnss-sss will only re-modify /etc/nsswitch.conf if it has been purged first / "clean" install. Expectation: if config is changed *only* during initial install, then config should be left behind during a remove, and config only removed when the package is *purged*. The only exception I can think of is if there's some specific reason to want to back out the changes to /etc/nsswitch.conf any time libnss-sss is removed (but *not* purged)... and if this is the case, then I'd think maybe the postinst script should be *re-adding* "sss" to nsswitch.conf on *any* install/reinstall (even if it wasn't purged first). I'm happy to provide any other information needed, but this is my first filed bug so I apologize if I'm lacking. :)
2021-02-24 19:31:04 Sergio Durigan Junior sssd (Ubuntu): status New Triaged
2021-02-24 19:31:12 Sergio Durigan Junior bug added subscriber Ubuntu Server
2021-02-24 19:31:17 Sergio Durigan Junior bug added subscriber Sergio Durigan Junior
2021-02-24 19:36:17 Sergio Durigan Junior sssd (Ubuntu): importance Undecided Medium
2021-02-24 19:36:32 Sergio Durigan Junior nominated for series Ubuntu Hirsute
2021-02-24 19:36:32 Sergio Durigan Junior bug task added sssd (Ubuntu Hirsute)
2021-02-24 19:36:32 Sergio Durigan Junior nominated for series Ubuntu Focal
2021-02-24 19:36:32 Sergio Durigan Junior bug task added sssd (Ubuntu Focal)
2021-02-24 19:36:38 Sergio Durigan Junior sssd (Ubuntu Focal): status New Triaged
2021-02-24 19:36:40 Sergio Durigan Junior sssd (Ubuntu Focal): importance Undecided Medium
2021-08-25 17:04:28 Athos Ribeiro nominated for series Ubuntu Impish
2021-08-25 17:04:28 Athos Ribeiro bug task added sssd (Ubuntu Impish)
2022-01-26 21:56:07 Brian Murray sssd (Ubuntu Hirsute): status Triaged Won't Fix
2022-07-18 22:58:33 Brian Murray sssd (Ubuntu Impish): status Triaged Won't Fix