Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 909157

Summary: sys-auth/rtkit rtkit-daemon unstoppable spam to /var/log/messages
Product: Gentoo Linux Reporter: Optimus <optimusgd>
Component: Current packagesAssignee: Marek Szuba (RETIRED) <marecki>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Changing default verbosity level and adding --debug option to rtkit-daemon

Description Optimus 2023-06-25 18:05:51 UTC
Created attachment 864598 [details, diff]
Changing default verbosity level and adding --debug option to rtkit-daemon

Hello, my /var/log/messages are full of rtkit-daemon's messages, like

Jun 25 17:32:56 dualxeon rtkit-daemon[5761]: Supervising 8 threads of 8 processes of 1 users.
Jun 25 17:32:56 dualxeon rtkit-daemon[5761]: Supervising 8 threads of 8 processes of 1 users.
Jun 25 17:33:49 dualxeon rtkit-daemon[5761]: Supervising 8 threads of 8 processes of 1 users.
Jun 25 17:33:49 dualxeon rtkit-daemon[5761]: Supervising 8 threads of 8 processes of 1 users.

As I read in https://github.com/heftig/rtkit/pull/33 it's known problem. By default rtkit has "debug" message level and no verbosity control at all. Systemd users can using systemd methods for controlling its verbosity, but OpenRC users can't.

So there is a patch from https://github.com/heftig/rtkit/pull/33/commits/ad649ee491ed1a41537774ad11564a208e598a09 , it's change rtkit-daemon default verbosity level and add --debug option for anybody who need debug messages.

I tested this by putting patch to /etc/portage/patches/sys-auth/rtkit-0.13-r1/ , working fine, no spamming.
Comment 1 Larry the Git Cow gentoo-dev 2023-06-29 10:22:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f5e5c07d3c72c3aabbdbe09e45d21d52622f71

commit d3f5e5c07d3c72c3aabbdbe09e45d21d52622f71
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-06-29 10:20:57 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-06-29 10:22:32 +0000

    sys-auth/rtkit: better control over daemon verbosity for non-systemd users
    
    Closes: https://bugs.gentoo.org/909157
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../rtkit/files/rtkit-0.13_daemon_verbosity.patch  | 67 ++++++++++++++++++++++
 sys-auth/rtkit/rtkit-0.13-r2.ebuild                | 49 ++++++++++++++++
 2 files changed, 116 insertions(+)