RE: dbus permissions problem

Greg Wilson-Lindberg <GWilson-+8BKOH/0X5NWk0Htik3J/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
Hi Thiago,
Thanks for the explanation.

Regards,
Greg

-----Original Message-----
From: dbus <[email protected]> On Behalf Of Thiago Macieira
Sent: Tuesday, February 16, 2021 5:17 PM
To: [email protected]
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.