[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: dbus permissions problem
From:       Thiago Macieira <thiago () kde ! org>
Date:       2021-02-17 1:16:35
Message-ID: 2355768.nJ2KecE124 () tjmaciei-mobl1
[Download RAW message or body]

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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic