Control: reassign -1 systemd

I am going to reassign this to systemd, which ships systemd-sysusers

The forum discussion you referenced mentioned two failures from systemd-sysusers https://forums.debian.net/viewtopic.php?t=156286:


1/
Creating group 'polkitd' with GID 997.
Creating user 'polkitd' (polkit) with UID 997 and GID 997.
Failed to add existing group "adm" to temporary group file: Invalid argument


2/
Failed to check if group polkitd already exists: Connection refused
id: ‘polkitd’: no such user
chown: invalid user: ‘polkitd:root’

2/ is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074789


You haven't supplied any error message from polkitd postinst so far, so my educated guess was that it was 2/ for you as well.

But since we don't have this information, we can't be certain. The only thing I can say for sure is that polkitd failed because systemd-sysusers failed to create the polkitd user which makes this a systemd issue. Thus reassigning.

Michael


Am 20.07.24 um 14:58 schrieb Andreas Tille:
Control: tags -1 - moreinfo

Hi again,

Am Wed, Jul 17, 2024 at 06:15:06PM +0200 schrieb Michael Biebl:
Can you attach the output of
SYSTEMD_LOG_LEVEL=debug systemd-sysusers /usr/lib/sysusers.d/polkit.conf
for the system where you get this failure.

# SYSTEMD_LOG_LEVEL=debug systemd-sysusers
/usr/lib/sysusers.d/polkit.conf
SELinux enabled state cached to: disabled
Failed to open '/usr/lib/sysusers.d/polkit.conf', ignoring: No such
file or directory

SYSTEMD_LOG_LEVEL=debug systemd-sysusers /usr/lib/sysusers.d/polkitd.conf

please (note the 'd')

# SYSTEMD_LOG_LEVEL=debug systemd-sysusers /usr/lib/sysusers.d/polkitd.conf
SELinux enabled state cached to: disabled
Group polkitd already exists.
User polkitd already exists.

Ideally also include the output of "dpkg-reconfigure" with
/var/lib/dpkg/info/polkitd.postinst having a  "set -x" added right at the
top.

See end of this mail.
The usual spiel.

Hope this helps now.

Please note: I will not have any access to this laptop for the next two
weeks.

Kind regards
     Andreas.


# dpkg-reconfigure polkitd 2>&1 | tee > output
# cat output
+ set -e
+ getent passwd polkitd
+ user_changed=
+ command -v systemd-sysusers
+ systemd-sysusers polkitd.conf
+ dpkg --compare-versions 122-3 lt 122-3~
+ id -g polkitd
+ [ 134 = 65534 ]
+ set_perms polkitd root 700 /etc/polkit-1/rules.d
+ USER=polkitd
+ GROUP=root
+ MODE=700
+ FILE=/etc/polkit-1/rules.d
+ dpkg-statoverride --list /etc/polkit-1/rules.d
+ chown polkitd:root /etc/polkit-1/rules.d
+ chmod 700 /etc/polkit-1/rules.d
+ set_perms polkitd root 700 /usr/share/polkit-1/rules.d
+ USER=polkitd
+ GROUP=root
+ MODE=700
+ FILE=/usr/share/polkit-1/rules.d
+ dpkg-statoverride --list /usr/share/polkit-1/rules.d
+ chown polkitd:root /usr/share/polkit-1/rules.d
+ chmod 700 /usr/share/polkit-1/rules.d
+ set_perms polkitd root 700 /var/lib/polkit-1
+ USER=polkitd
+ GROUP=root
+ MODE=700
+ FILE=/var/lib/polkit-1
+ dpkg-statoverride --list /var/lib/polkit-1
+ chown polkitd:root /var/lib/polkit-1
+ chmod 700 /var/lib/polkit-1
+ set_perms root root 4755 /usr/lib/polkit-1/polkit-agent-helper-1
+ USER=root
+ GROUP=root
+ MODE=4755
+ FILE=/usr/lib/polkit-1/polkit-agent-helper-1
+ dpkg-statoverride --list /usr/lib/polkit-1/polkit-agent-helper-1
+ chown root:root /usr/lib/polkit-1/polkit-agent-helper-1
+ chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1
+ [ -z  ]
+ [ -n  ]
+ [ configure = configure ]
+ update-xmlcatalog --sort --add --type public --id -//freedesktop//DTD 
PolicyKit Policy Configuration 1.0//EN --package polkitd --local 
/usr/share/xml/polkit-1/catalog.xml
+ update-xmlcatalog --sort --add --type system --id 
http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd --package 
polkitd --local /usr/share/xml/polkit-1/catalog.xml
+ update-xmlcatalog --sort --add --type public --id -//freedesktop//DTD 
PolicyKit Policy Configuration 1.0//EN --package polkitd --root
+ update-xmlcatalog --sort --add --type system --id 
http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd --package 
polkitd --root
+ [ configure = configure ]
+ command -v systemd-tmpfiles
+ [ -x /usr/bin/systemd-tmpfiles ]
+ systemd-tmpfiles --create polkitd.conf
+ dpkg-maintscript-helper rm_conffile /etc/pam.d/polkit-1 122-2~ -- configure 
122-3
+ dpkg-maintscript-helper rm_conffile 
/etc/polkit-1/localauthority.conf.d/50-localauthority.conf 121+compat0.1-1~ -- 
configure 122-3
+ dpkg-maintscript-helper rm_conffile 
/etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf 121+compat0.1-1~ -- 
configure 122-3
+ dpkg-maintscript-helper rm_conffile 
/etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf 121+compat0.1-1~ -- 
configure 122-3
+ dpkg-maintscript-helper rm_conffile 
/etc/polkit-1/rules.d/40-debian-sudo.rules 121~ polkitd-javascript -- configure 
122-3
+ dpkg-maintscript-helper rm_conffile 
/etc/polkit-1/rules.d/40-ubuntu-admin.rules 121~ polkitd-javascript -- 
configure 122-3
+ dpkg-maintscript-helper rm_conffile /etc/polkit-1/rules.d/50-default.rules 
121~ polkitd-javascript -- configure 122-3
+ [ configure = configure ]
+ [ -z  ]
+ [ -d /run/systemd/system ]
+ systemctl --system daemon-reload
+ [ -n 122-3 ]
+ deb-systemd-invoke try-restart polkit.service
+ [ -e /etc/pam.d/polkit-1.dpkg-bak ]
+ dpkg --compare-versions 122-3 lt 0.109-1
+ [ -d /run/systemd/system ]
+ exit 0



Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-utopia-maintainers mailing list
Pkg-utopia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to