| 1 |
-- 199d4300277f495f84ba4028c984214c |
| 2 |
Subject: Falling back to resolving auxiliary groups using NSS |
| 3 |
Defined-By: dbus-broker |
| 4 |
Documentation: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/net/core/sock.c?id=28b5ba2aa0f55d80adb2624564ed2b170c19519e |
| 5 |
Support: https://groups.google.com/forum/#!forum/bus1-devel |
| 6 |
|
| 7 |
In order to determine the policy to apply to a peer we need to |
| 8 |
know the owning user as well as the users auxiliary groups. |
| 9 |
|
| 10 |
The user and group ids are provided to us by the SO_PEERCREDS |
| 11 |
sockopt, and on newer kernels we also get the auxiliary groups |
| 12 |
via the SO_PEERGROUPS sockopts. |
| 13 |
|
| 14 |
However, on older kernels where the SO_PEERGROUPS sockopt is not |
| 15 |
available, we fall back to query the auxiliary groups over NSS. |
| 16 |
This is racy as the auxiliary groups may change, and the groups |
| 17 |
we end up with may not be the ones at the time the socket was |
| 18 |
opened by the client. This is highly discouraged, and upating |
| 19 |
to a kernel with SO_PEERGROUPS support is recommended. |
| 20 |
|
| 21 |
-- 8af3357071af4153af414daae07d38e7 |
| 22 |
Subject: Dispatched @DBUS_BROKER_METRICS_DISPATCH_COUNT@ messages |
| 23 |
Defined-By: dbus-broker |
| 24 |
Support: https://groups.google.com/forum/#!forum/bus1-devel |
| 25 |
|
| 26 |
This message is printed by dbus-broker when shutting down. It includes metric |
| 27 |
information collected during the runtime of dbus-broker. |
| 28 |
|
| 29 |
The message lists the number of dispatched messages |
| 30 |
(in this case @DBUS_BROKER_METRICS_DISPATCH_COUNT@) as well as the mean time to |
| 31 |
handling a single message. The time measurements exclude the time spent on |
| 32 |
writing to and reading from the kernel. |
| 33 |
|
| 34 |
-- b209c0d9d1764ab38d13b8e00d1784d6 |
| 35 |
Subject: Peer @DBUS_BROKER_SENDER_UNIQUE_NAME@ violated the D-Bus protocol |
| 36 |
Defined-By: dbus-broker |
| 37 |
Support: https://groups.google.com/forum/#!forum/bus1-devel |
| 38 |
|
| 39 |
The peer @DBUS_BROKER_SENDER_UNIQUE_NAME@ attempted to violate the protocol |
| 40 |
and is therefore disconnected. |
| 41 |
|
| 42 |
-- 6fa70fa776044fa28be7a21daf42a108 |
| 43 |
Subject: Peer @DBUS_BROKER_RECEIVER_UNIQUE_NAME@ could not receive a requested message |
| 44 |
Defined-By: dbus-broker |
| 45 |
Support: https://groups.google.com/forum/#!forum/bus1-devel |
| 46 |
|
| 47 |
The peer @DBUS_BROKER_SENDER_UNIQUE_NAME@ failed to receive a message it requested |
| 48 |
and is therefore disconnected. The message in question could be a method |
| 49 |
error or reply or a broadcast the peer has subscribed to. |
| 50 |
|
| 51 |
Disconnecting the peer ensures that no messages are silently dropped. |