Skip to content

Commit cd54514

Browse files
committed
debugging: Add docs on system bus auditing
1 parent 7164f16 commit cd54514

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/debugging.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ Audit session or system bus traffic
180180
A ``--socket=session-bus`` or a ``--socket=system-bus`` permission must
181181
not be present for the logging to work.
182182

183-
Session or system bus traffic can be audited by passing ``--log-session-bus``
184-
and ``--log-system-bus`` respectively to ``flatpak run``::
183+
Session bus traffic can be audited by passing ``--log-session-bus`` to
184+
``flatpak run``::
185185

186186
flatpak run --log-session-bus <application-id>
187187

@@ -190,3 +190,9 @@ and the corresponding ``--talk-name`` or ``--own-name`` permissions
190190
required::
191191

192192
flatpak --log-session-bus run <application-id>| grep '(required 1)'
193+
194+
Similarly, system bus traffic can be audited by passing ``--log-system-bus``
195+
to ``flatpak run``. This also requires a system bus name to be present
196+
in the permissions. If not a bogus bus name can be passed::
197+
198+
flatpak run --log-system-bus --system-talk-name=org.example.foo <application-id>

0 commit comments

Comments
 (0)