Re: dbus permissions problem

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <2355768.nJ2KecE124@tjmaciei-mobl1>
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.
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.