Debugging Policies

40 views
Skip to first unread message

christo...@googlemail.com

unread,
Nov 12, 2019, 6:12:18 PM11/12/19
to bus1-devel
Hello!

I am trying to debug the DBus-Policy issues I have. For that reason I am searching a way to retrieve the policy database the broker is using. Is that possible?
Or is there a way to show, how a policy deny or allow was deduced?

Best Regards
Christoph Heuel

David Rheinsberg

unread,
Feb 17, 2020, 5:12:12 AM2/17/20
to christo...@googlemail.com, bus1-devel
Hey

On Wed, Nov 13, 2019 at 12:12 AM christoph.heuel via bus1-devel
<bus1-...@googlegroups.com> wrote:
> I am trying to debug the DBus-Policy issues I have. For that reason I am searching a way to retrieve the policy database the broker is using. Is that possible?
> Or is there a way to show, how a policy deny or allow was deduced?

There is currently no way to dump the database. The journal-entry
should contain some additional information in the auxiliary fields
(see `journalctl --output=verbose`).

You are always more than welcome to ask for help on the mailing-list
(or FWIW on the `dbus-devel` mailing list). In most cases I highly
recommend keeping policies trivial, since they are huge CPU hogs and a
mess to debug.

Do you have a specific situation that you want to debug?

Thanks
David
Reply all
Reply to author
Forward
0 new messages