dbus permissions problem

Thiago Macieira thiago at kde.org
Wed Feb 17 01:16:35 UTC 2021


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





More information about the dbus mailing list