Subject: bug#840 closed by [email-masked] (#840: fixed in src:policykit-1 version 124-1devuan2)

From: "Devuan bug Tracking System" <[email-masked]>
Date: Thu, 14 Mar 2024 21:52:02 +0000

This is an automatic notification regarding your bug report
which was filed against the polkitd package:

#840: polkitd: package fails to install if systemd-standalone-sysusers is installed

It has been closed by [email-masked].

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact [email-masked] by
replying to this email.

-- 
840: https://bugs.devuan.org/cgi/bugreport.cgi?bug=840
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: #840: fixed in src:policykit-1 version 124-1devuan2
From: [email-masked]
To: [email-masked]
Date: Thu, 14 Mar 2024 21:50:04 +0000

Version: 124-1devuan2

Source package policykit-1 (124-1devuan2) added to Devuan suite unstable.

This closes bug report 840.

Thanks

DAK managing the Devuan archive

Format: 1.8
Date: Thu, 14 Mar 2024 21:27:02 +0000
Source: policykit-1
Architecture: source
Version: 124-1devuan2
Distribution: unstable
Urgency: medium
Maintainer: Devuan Dev Team <[email-masked]>
Changed-By: Mark Hindley <[email-masked]>
Closes: 840
Changes:
 policykit-1 (124-1devuan2) unstable; urgency=medium
 .
   * d/polkitd.install: restore sysusers.d fragment. (Closes: #840)
Checksums-Sha1:
 c81e460df70f6071cb9f9c31e6efb43a9d2f7e45 3500 policykit-1_124-1devuan2.dsc
 07cc150ebc99529ec7dd4182c236e241a6c782ff 37608 policykit-1_124-1devuan2.debian.tar.xz
 af3483d5873d1848aad88e6c2b9963e2fe305534 5696 policykit-1_124-1devuan2_source.buildinfo
Checksums-Sha256:
 5c487d93c0f714ecb8f0c87a19eb049cc7f6f639532ae0d7536f407525bd18cb 3500 policykit-1_124-1devuan2.dsc
 ae8ccad04c08dd4fba4f7e815031821a818a00e367e2718d4d04a9f1a402dee9 37608 policykit-1_124-1devuan2.debian.tar.xz
 596dab6baa136f92eb27df97f0cd3f4a4400654b6f744e2ab5f4794ff2804142 5696 policykit-1_124-1devuan2_source.buildinfo
Files:
 7e470a90b03c1bcf1eda7689296e20e8 3500 admin optional policykit-1_124-1devuan2.dsc
 d6546c4cf13027f48eabd8fdd4a399f2 37608 admin optional policykit-1_124-1devuan2.debian.tar.xz
 b383698726f43aeb855c7fcf3e89b413 5696 admin optional policykit-1_124-1devuan2_source.buildinfo

Subject: polkitd: package fails to install if systemd-standalone-sysusers is installed
From: Maxim R Chintalov <[email-masked]>
To: "[email-masked]" <[email-masked]>
Cc: Maxim R Chintalov <[email-masked]>
Date: Wed, 13 Mar 2024 23:06:31 +0000

Package: polkitd
Version: 124-1devuan1
Severity: normal

If package systemd-standalone-sysusers is installed, the polkitd
postinst script will attempt to invoke it:

case "$1" in
    configure)
        if ! getent passwd polkitd >/dev/null; then
            user_changed=yes
        else
            user_changed=
        fi

        # Intentionally not using dh_installsysusers: we need enough control
        # over sequencing to reload dbus-daemon after doing this, but before
        # restarting polkitd
        if command -v systemd-sysusers >/dev/null; then
            systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} polkit.conf
        else
            adduser --group --system --quiet --gecos 'polkit' \
                --no-create-home --home /nonexistent polkitd
            addgroup --system --quiet polkitd
        fi

However, it fails because the file /usr/lib/sysusers.d/polkit.conf
is missing from Devuan. This appears the be a reintroduction of
bug 717: https://bugs.devuan.org/cgi/bugreport.cgi?bug=717

systemd-standalone-sysusers must be uninstalled for installation
to succeed.

I am using Devuan ceres with Xfce and runit.