[Bug 1781991] Re: libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf
Andreas Hasenack
andreas at canonical.com
Tue May 28 13:11:13 UTC 2019
This is the fix from debian:
diff --git a/debian/libsss-sudo.postinst b/debian/libsss-sudo.postinst
index a9c061ede..272e68f1e 100644
--- a/debian/libsss-sudo.postinst
+++ b/debian/libsss-sudo.postinst
@@ -33,7 +33,8 @@ insert_nss_entry() {
fi
}
-insert_nss_entry
-
+if [ "$1" = configure ] && [ -z "$2" ]; then
+ insert_nss_entry
+fi
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to sssd in Ubuntu.
https://bugs.launchpad.net/bugs/1781991
Title:
libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1781991/+subscriptions
More information about the Ubuntu-server-bugs
mailing list