[Bug 1206745] New: Unnecessary log entries for rtkit
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745 Bug ID: 1206745 Summary: Unnecessary log entries for rtkit Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Minor Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: jimoe@sma-inc.us QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Tumbleweed 20221222 The system log has many entries (generally tens per day, grouped in bunches of 5 - 30) like this: 2022-12-29T06:30:59-0700 sma-station14l rtkit-daemon[7852]: Supervising 0 threads of 0 processes of 0 users. Is this really necessary? It is merely saying it has nothing to do. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745#c2
Jean Delvare
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745#c7
--- Comment #7 from Jean Delvare
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745#c9
--- Comment #9 from Jean Delvare
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745#c10
--- Comment #10 from Jean Delvare
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745
http://bugzilla.opensuse.org/show_bug.cgi?id=1206745#c11
Scott Bradnick
Created attachment 866177 [details] [PATCH] rtkit-daemon: Don't log debug messages by default
Here's a candidate fix. It is inspired from
https://github.com/heftig/rtkit/pull/26/commits/ 1b5ebe1e36ec0301e9e4d147e0fb7869bc5a5d18
with 3 key differences:
1* Debug messages are turned off by default, as this is how other services behave. 2* The filtering of debug messages is done directly at the syslog facility level, instead of cluttering the code with conditionals. 3* Only messages with level LOG_DEBUG are affected. Messages with level LOG_INFO are left unmodified and will always be logged, as before.
This makes my proposal less intrusive and less risky. I think we should add this patch to the rtkit package in Tumbleweed.
I'd suggest PR'ing this upstream and get their thoughts on it first. I realize there isn't much activity @ https://github.com/heftig/rtkit - but better to get at least some eyes on it vs. us assuming it's fine to do. I'd like to see that happen before we consider adjusting it here because I'm more inclined to *not* change the default(s) since this behavior doesn't happen on any of my systems [1] as well as there being a pretty simple workaround. I don't like the idea of changing defaults in relation to personal preference and this could potentially do more harm than good if someone might rely on it's current default behavior. [1]: 3 quite different physical hosts that when 'pipewire-pulse.service' is running, 'sudo journalctl --this-boot | grep -i rtkit' shows output that appears sane and none of it is like OPs (all the 0s). Is it useful to me? No, but that doesn't necessitate a change in behavior IMO. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com