[Pkg-utopia-maintainers] Bug#1058590: getent in polkitd.postinst is broken

Michael Biebl biebl at debian.org
Thu Feb 29 15:04:17 GMT 2024


Am 29.02.24 um 15:10 schrieb Harald Dunkel:
> I would suggest to simply create polkitd user and group using useradd
> instead of systemd, ignore the error message indicating the user exists
> or whatever might happen, and then try to use the polkitd user. If this
> last step fails, then the postinst script can exit with an error.
> 
> I don't know of any other package (except for systemd) using 
> systemd-sysusers

apt-file search /usr/lib/sysusers.d will tell you which packages use 
sd-syusers.


$ apt-file search /usr/lib/sysusers.d/ | wc -l
43

So yeah, if there is a problem with sd-sysusers, it should be addressed, 
as this interface is becoming more ubiquitous.

So if you have a good reproducer and a debug log, please let us know and 
we will reopen this bug report.

Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240229/a361f3c5/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list