[Pkg-utopia-maintainers] Bug#1074789: polkitd: setup uses non-failsafe manner of checking whether user/group exists

Lionel Elie Mamane lionel at mamane.lu
Wed Jul 3 10:17:48 BST 2024


Package: polkitd
Version: 122-3
Severity: normal

The package's post-install fails as such:

Setting up polkitd (122-3) ...
Failed to check if group polkitd already exists: Connection refused
id: ‘polkitd’: no such user
chown: invalid user: ‘polkitd:root’
dpkg: error processing package polkitd (--configure):
 installed polkitd package post-installation script subprocess returned error exit status 1


Not sure what funky way to check for existing users it uses that it
needs to connect to something, looks like it expects some
network-but-on-same-machine / socket service?

-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (400, 'testing'), (300, 'unstable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-28-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages polkitd depends on:
ii  adduser                         3.134
ii  dbus [default-dbus-system-bus]  1.14.10-1~deb12u1
hi  libc6                           2.36-9+deb12u7
ii  libduktape207                   2.7.0-2
ii  libexpat1                       2.2.10-2+deb11u5
ii  libglib2.0-0                    2.78.4-1
ii  libpam-systemd [logind]         252.26-1~deb12u2
ii  libpam0g                        1.5.2-6+deb12u1
ii  libpolkit-agent-1-0             122-3
ii  libpolkit-gobject-1-0           122-3
ii  libsystemd0                     252.26-1~deb12u2
ii  systemd [systemd-sysusers]      252.26-1~deb12u2
ii  xml-core                        0.18+nmu1

polkitd recommends no packages.

Versions of packages polkitd suggests:
iu  polkitd-pkla  122-3

Versions of packages polkitd is related to:
pn  elogind         <none>
pn  libpam-elogind  <none>
ii  libpam-systemd  252.26-1~deb12u2
ii  systemd         252.26-1~deb12u2

-- no debconf information

-- 
Lionel Mamane
Tél: +352 46 67 74
Fax: +352 46 67 76

This message and any attachments may be intended to be confidential,
intended solely for the addressee and/or contain legally privileged
information. Any unauthorised use or dissemination is prohibited.
Unless cryptographically protected, emails are susceptible to
interception, alteration and spoofing, so in case of doubt, please
check by independent means.

We do not make any commitment by email, ever; if this emails appears
to contain a commitment, we will not recognise the latter as valid,
nor as engaging our liability. We make commitments only by a written
paper document signed by at least one person entitled to engage our
liability.



More information about the Pkg-utopia-maintainers mailing list