Extra whitespace in comm= field
Submitted by Laurent Bigonville
Assigned to D-Bus Maintainers
Link to original bug (#107887)
It seems that in the log the comm= field contain an extra whitespace at the end: "dbus-daemon: [session uid=1000 pid=23494] Connection :1.0 (uid=1000 pid=23495 comm="dbus-monitor " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") became a monitor."
Looking at the code, it seems that _dbus_command_for_pid() is at fault here. /proc/
<pid>/cmdline also contain a final \0 which is translated to a whitespace, this one should probably be stripped?
Version: git master