Devuan bug report logs - #840
polkitd: package fails to install if systemd-standalone-sysusers is installed

version graph

Package: polkitd; Maintainer for polkitd is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for polkitd is src:policykit-1.

Reported by: Maxim R Chintalov <mchinta2@gmu.edu>

Date: Wed, 13 Mar 2024 23:08:01 UTC

Severity: normal

Found in version policykit-1/124-1devuan1

Fixed in version 124-1devuan2

Done: dak@devuan.org

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>:
bug#840; Package polkitd. (Wed, 13 Mar 2024 23:08:01 GMT) (full text, mbox, link).


Acknowledgement sent to Maxim R Chintalov <mchinta2@gmu.edu>:
New bug report received and forwarded. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>. (Wed, 13 Mar 2024 23:08:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Maxim R Chintalov <mchinta2@gmu.edu>
To: "submit@bugs.devuan.org" <submit@bugs.devuan.org>
Cc: Maxim R Chintalov <mchinta2@gmu.edu>
Subject: polkitd: package fails to install if systemd-standalone-sysusers is installed
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.

Reply sent to dak@devuan.org:
You have taken responsibility. (Thu, 14 Mar 2024 21:52:01 GMT) (full text, mbox, link).


Notification sent to Maxim R Chintalov <mchinta2@gmu.edu>:
bug acknowledged by developer. (Thu, 14 Mar 2024 21:52:02 GMT) (full text, mbox, link).


Message #10 received at 840-done@bugs.devuan.org (full text, mbox, reply):

From: dak@devuan.org
To: 840-done@bugs.devuan.org
Subject: #840: fixed in src:policykit-1 version 124-1devuan2
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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 <devuan-dev@lists.dyne.org>
Changed-By: Mark Hindley <mark@hindley.org.uk>
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

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmXzbaoACgkQlFMhJFQZ
IvuZnQf9HXSYDqyPJ4fmBmAdspZzvdXkYIUsHtttVoBchw8aMZgzBDSXgv2Unxv1
DMqqVKXIdL3TDGI3TPxqhBcAtnXDbCRmCWrACTxIosdMxGo95CE0kNNravwWawXP
oelTjN/GBENrYKzFaKntzryhES/xr97GySTUA536wJtbt3V3r79D+WY7n11OuS2a
nMB88JIdQeJ5qODSp1LgTPcpVDdJ5l+YJ0rgjYjbrdfTtQg5vf/e96N9E4JlUphR
Uo91DgKZ9HfI9lnAwDB5nDlJHhYlFWQekmOVAUtkxuOR3TLEV6K1vRRAoWY33khW
psiHYBBDHgjsvPV3ay4Sa9RSufRGhg==
=AmRy
-----END PGP SIGNATURE-----

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri May 24 07:58:22 2024;