:: [devuan-dev] bug#840: polkitd: pack…
Góra strony
Delete this message
Reply to this message
Autor: Maxim R Chintalov
Data:  
Dla: submit@bugs.devuan.org
CC: Maxim R Chintalov
Temat: [devuan-dev] bug#840: polkitd: package fails to install if systemd-standalone-sysusers is installed
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.