dbus permissions problem

Greg Wilson-Lindberg GWilson at sakuraus.com
Wed Feb 17 16:49:32 UTC 2021


Hi Thiago,
Thanks for the explanation.

Regards,
Greg

-----Original Message-----
From: dbus <dbus-bounces at lists.freedesktop.org> On Behalf Of Thiago Macieira
Sent: Tuesday, February 16, 2021 5:17 PM
To: dbus at lists.freedesktop.org
Subject: Re: dbus permissions problem

On Tuesday, 16 February 2021 11:38:32 PST Greg Wilson-Lindberg wrote:
> Here is the output from: dbus-monitor --system --profile
> mc      1613424707.737446       8       :1.11   org.freedesktop.timedate1   
>    /org/freedesktop/timedate1      org.freedesktop.timedate1      
> SetTimezone

> mc      1613424707.738188       8       :1.12   org.freedesktop.DBus   
> /org/freedesktop/DBus   org.freedesktop.DBus    GetConnectionUnixUser

> mr      1613424707.738272       5       org.freedesktop.DBus    :1.12   8
>  err     1613424707.738731       9       :1.12   :1.11   8
> 
> Thanks in advance to anyone that can help me with this problem,

>From the log, connection :1.11 made a call to org.freedesktop.timedate1, then
:1.12 made a call to the bus to get :1.11's Unix user ID. The reply came (note the "8" is not the reply value!), and then :1.12 replied back to :1.11 with an error (doesn't say which error).

There's nothing wrong with D-Bus.

The service you called decided to send you an error. Why that is, you'll need to ask the developers of the service in question. I don't know if systemd- timedated can accept authorisation using PolKit or if it is UID-based only. 
You'll need to ask systemd folks.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering



_______________________________________________
dbus mailing list
dbus at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dbus


More information about the dbus mailing list