[Assist] [lxde-gtk3] GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (OpenRC)

Megver83 megver83 at hyperbola.info
Sat Nov 16 23:22:27 GMT 2019


Don't do that, the base-openrc group will be deprecated in favor of
nonsystemd/base. I'm currently building the -elogind pkgs in
[nonsystemd] without that prefix, plus, they are outdated (the ones in
[pcr]). Also, now elogind provides systemd and libelogind provides
systemd-libs, so I'll eventually drop all the [pcr] -elogind pkgs, the
systemd-dummy and systemd-libs-dummy pkg, and some -openrc pkgs as I'm
building some [nonsystemd] pkgs which already include the openrc init
scripts. Note that I'm building all these packages in [nonsystemd] now,
but haven't deleted anything from [pcr] yet just for precaution (so
newer versions of openrc and sysvinit, for example, are available in
[nonsystemd] now).

This changes mean that, different from Artix for example, which
provides separated -openrc pkgs (like Parabola now) instead of having
the init scripts inside their original pkgs (because they provide more
inits like runit with -runit pkgs, which are their initscripts)
Parabola will support OpenRC as the only alternative *service manager*,
because you can actually use it with a different PID1 than openrc-init
(as of now, there's sysvinit which you can use it with openrc-sysvinit, 
and there's runit too, but I've to update the runit-scripts packages
because it's too old, and I've plans to make it an openrc-pid1 provider
like openrc-init and openrc-sysvinit).

Now, regarding your issue, there are a couple of posibilities I can
think of but first I need more info. What version of elogind and polkit
do you have? since when did this began to happen? You could also try an
Artix w/OpenRC installation (in a VM maybe) to see if there's the same
issue. One of the posibilities I think is that there might be a systemd
thingie there that's teasing you, but I would have to check that and
unfortunately I do not have the time (I'm from Chile, and with the
social explosion many things happen, now I've plenty of exams and jobs
to do....), but maybe a [nonsystemd] version of lxde-gtk3 could solve
it, but as I said before, give me more info and try w/Artix

El sáb, 16-11-2019 a las 22:15 +0100, noughtlux at mailfence.com escribió:
> I enabled the [nonsystemd] repo, but
> 
> 
> # pacman -Syyuu base-openrc systemd-libs-dummy systemd-dummy polkit-
> elogind openrc-desktop
> 
> 
> actually gives me this result:
> 
> 
> :: Synchronizing package databases...
>  nonsystemd             15.4 KiB  0.00   B/s 00:00
> [######################] 100%
>  nonprism               25.7 KiB   347 KiB/s 00:00
> [######################] 100%
>  kernels                 3.5 KiB  0.00   B/s 00:00
> [######################] 100%
>  libre                 349.8 KiB   233 KiB/s 00:02
> [######################] 100%
>  core                  117.7 KiB   318 KiB/s 00:00
> [######################] 100%
>  extra                1497.5 KiB   279 KiB/s 00:05
> [######################] 100%
>  community               4.5 MiB   277 KiB/s 00:17
> [######################] 100%
>  pcr                   557.6 KiB   136 KiB/s 00:04
> [######################] 100%
> :: There are 26 members in group base-openrc:
> :: Repository nonprism
>    1) your-privacy
> :: Repository libre
>    2) licenses  3) pacman  4) pacman-mirrorlist  5) your-freedom
> :: Repository pcr
>    6) cronie-openrc  7) cryptsetup-openrc  8) dbus-openrc
>    9) device-mapper-openrc  10) dhcpcd-openrc  11) eudev  12) eudev-
> libudev
>    13) glibc-openrc  14) inetutils-openrc  15) kmod-openrc  16) lvm2-
> openrc
>    17) mdadm-openrc  18) netifrc  19) nfs-utils-openrc  20) openrc
>    21) openrc-init  22) opensysusers  23) quota-tools-openrc
>    24) rpcbind-openrc  25) syslog-ng-openrc  26) udev-init-scripts
> 
> Enter a selection (default=all): 
> warning: licenses-20191011-1.par1 is up to date -- reinstalling
> warning: pacman-5.2.1-1.parabola1 is up to date -- reinstalling
> warning: pacman-mirrorlist-20190531-1.par1 is up to date --
> reinstalling
> warning: cronie-openrc-20170927-3 is up to date -- reinstalling
> warning: cryptsetup-openrc-20170927-3 is up to date -- reinstalling
> warning: device-mapper-openrc-20170927-3 is up to date --
> reinstalling
> warning: dhcpcd-openrc-20170927-3 is up to date -- reinstalling
> warning: downgrading package eudev (3.2.9-1 => 3.2.5-6)
> warning: downgrading package eudev-libudev (3.2.9-1 => 3.2.5-6)
> warning: glibc-openrc-20170927-3 is up to date -- reinstalling
> warning: inetutils-openrc-20170927-3 is up to date -- reinstalling
> warning: lvm2-openrc-20170927-3 is up to date -- reinstalling
> warning: mdadm-openrc-20170927-3 is up to date -- reinstalling
> warning: netifrc-0.6.1-1 is up to date -- reinstalling
> warning: nfs-utils-openrc-20170927-3 is up to date -- reinstalling
> warning: downgrading package openrc (0.42.1-3 => 0.38.2-2)
> warning: downgrading package openrc-init (0.42.1-3 => 0.38.2-2)
> warning: downgrading package opensysusers (0.5.1-1 => 0.4.8-5)
> warning: quota-tools-openrc-20170927-3 is up to date -- reinstalling
> warning: rpcbind-openrc-20170927-3 is up to date -- reinstalling
> warning: syslog-ng-openrc-20170927-3 is up to date -- reinstalling
> warning: downgrading package udev-init-scripts (33-1 => 32-5)
> warning: systemd-libs-dummy-1:1-1 is up to date -- reinstalling
> warning: systemd-dummy-1:1-1 is up to date -- reinstalling
> :: There are 10 members in group openrc-desktop:
> :: Repository pcr
>    1) acpid-openrc  2) alsa-utils-openrc  3) avahi-openrc  4) bluez-
> openrc
>    5) displaymanager-openrc  6) elogind-openrc  7) gpm-openrc
>    8) modemmanager-pk-rules  9) networkmanager-openrc
>    10) wpa_supplicant-openrc
> 
> Enter a selection (default=all): 
> warning: acpid-openrc-20170927-1 is up to date -- reinstalling
> warning: alsa-utils-openrc-20170927-1 is up to date -- reinstalling
> warning: avahi-openrc-20170927-1 is up to date -- reinstalling
> warning: bluez-openrc-20170927-1 is up to date -- reinstalling
> warning: displaymanager-openrc-20170927-1 is up to date --
> reinstalling
> warning: gpm-openrc-20170927-1 is up to date -- reinstalling
> warning: modemmanager-pk-rules-20160402-1 is up to date --
> reinstalling
> warning: wpa_supplicant-openrc-20170927-1 is up to date --
> reinstalling
> :: Starting full system upgrade...
> resolving dependencies...
> looking for conflicting packages...
> :: polkit-elogind and polkit are in conflict. Remove polkit? [y/N] y
> :: dbus-openrc and dbus are in conflict. Remove dbus? [y/N] y
> :: elogind-openrc and elogind are in conflict. Remove elogind? [y/N]
> y
> error: failed to prepare transaction (could not satisfy dependencies)
> :: unable to satisfy dependency 'dbus-elogind' required by dbus-
> openrc
> :: unable to satisfy dependency 'elogind' required by polkit-elogind
> :: unable to satisfy dependency 'dbus' required by avahi
> :: unable to satisfy dependency 'elogind' required by elogind-openrc
> :: unable to satisfy dependency 'dbus' required by python-dbus
> :: unable to satisfy dependency 'dbus' required by ghostscript
> :: unable to satisfy dependency 'libdbus' required by libteam
> :: removing dbus breaks dependency 'dbus' required by at-spi2-core
> :: removing dbus breaks dependency 'dbus' required by bluez
> :: removing dbus breaks dependency 'dbus' required by colord
> :: removing dbus breaks dependency 'dbus' required by dbus-glib
> :: installing icu (65.1-2) breaks dependency 'icu<65' required by
> icecat
> :: removing dbus breaks dependency 'dbus' required by libpcap
> :: removing dbus breaks dependency 'dbus' required by libpulse
> :: removing elogind breaks dependency 'elogind' required by
> networkmanager
> :: removing dbus breaks dependency 'dbus' required by quota-tools
> :: removing dbus breaks dependency 'dbus' required by rtkit
> :: removing dbus breaks dependency 'libdbus' required by
> wpa_supplicant
> :: removing dbus breaks dependency 'dbus' required by xorg-server
> 
> > ----------------------------------------
> > From: bill-auger <bill-auger at peers.community>
> > Sent: Sat Nov 16 20:40:49 CET 2019
> > To: <assist at lists.parabola.nu>
> > Cc: <noughtlux at mailfence.com>
> > Subject: Re: [Assist] [lxde-gtk3]
> > GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: Cannot
> > determine user of subject (OpenRC)
> > 
> > 
> > this seems to be a recurring problem with openrc/polkit - i cant
> > remember off-hand how to fix it
> > 
> > to begin trouble-shooting, ensure that you have the [nonsystemd]
> > repo enabled - then ensure that you have all of the following
> > packages installed - these are the bare minimum for an openrc
> > desktop system
> > 
> > # pacman -Syyuu base-openrc systemd-libs-dummy systemd-dummy
> > polkit-elogind openrc-desktop
> > 
> _______________________________________________
> Assist mailing list
> Assist at lists.parabola.nu
> https://lists.parabola.nu/mailman/listinfo/assist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.parabola.nu/pipermail/assist/attachments/20191116/a1aa5a5c/attachment.sig>


More information about the Assist mailing list