[Pkg-utopia-maintainers] Bug#1058590: getent in polkitd.postinst is broken
Harald Dunkel
harald.dunkel at aixigo.com
Thu Dec 14 10:38:16 GMT 2023
Hi Simon,
getent queries all databases, as listed in /etc/nsswitch.conf, AFAIU.
I would suggest to use
getent -s files passwd polkitd
to query /etc/passwd only and to ignore remote databases based on LDAP
or NIS or similar. polkitd is supposed to be a local system user.
I stumbled over this during the upgrade Debian 11 --> 12 in a chroot.
Somehow polkitd couldn't be installed because the polkitd user and group
were missing. Actually I am not sure how this happened, but after
manually adding local user and group entries for polkitd installation
succeeded.
Regards
Harri
More information about the Pkg-utopia-maintainers
mailing list