Public bug reported:
In package libnss-sss_2.2.3-2 (Ubuntu 20.04 focal beta), the postinst
script does:
insert_nss_entry() {
log "Checking NSS setup..."
# abort if /etc/nsswitch.conf does not exist
if ! [ -e /etc/nsswitch.conf ]; then
log "Could not find /etc/nsswitch.conf."
return
fi
# append 'sss' to the end of the line if it's not found already
sed -i --regexp-extended '
/^(passwd|group|shadow|netgroup|services|automounter):/ {
/\bsss\b/! s/$/ sss/
}
' /etc/nsswitch.conf
# and add a new entry for automount if it's not there
if ! grep -q automounter /etc/nsswitch.conf; then
log "Adding an entry for automounter."
echo "automounter: sss" >> /etc/nsswitch.conf
fi
}
However, according to
https://docs.pagure.org/SSSD.sssd/design_pages/autofs_integration.html
the entry should be "automount: sss". As a result, autofs reads an
empty automount map.
** Affects: sssd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873752
Title:
libnss-sss postinst script puts "automounter: sss" in nsswitch.conf;
should be "automount: sss"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1873752/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs