Removing libnss-* does not remove corresponding options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
libnss-
But when (manually) adding NSS action specifiers, these do not get removed along.
SRU FIX: https:/
TEST CASE:
* Install libnss-mymachines. This will change the "hosts" line in /etc/nsswitch.conf from e. g. "files dns" to "files dns mymachines".
* Edit the file to add an action specifier: "files dns mymachines [!UNAVAIL=return]"
* Remove/purge libnss-mymachines.
* In current xenial (229-4ubuntu7)
* With the fixed version, the action specifier is completely gone.
* Re-test with installing libnss-resolve (which inserts itself before "dns") and modifying to "files resolve [!UNAVAIL=return] dns [foo=bar]", then purge libnss-resolve again -- this should again remove the [!UNAVAIL=return] but *NOT* "dns [foo=bar]".
Regression potential: This only affects package removal, so upgrades or new installs are not affected. Removals of libnss-
Changed in systemd (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
milestone: | none → ubuntu-16.09 |
Changed in systemd (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in systemd (Ubuntu): | |
status: | New → In Progress |
description: | updated |
Changed in systemd (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in systemd (Ubuntu Xenial): | |
status: | Triaged → In Progress |
description: | updated |
Changed in systemd (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Hello Martin, or anyone else affected,
Accepted systemd into xenial-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ systemd/ 229-4ubuntu9 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!