-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rasdaemon not logging #84
Comments
There is a known regression with Kernel 6.1. The fix depends on both adding a patch to the Linux Kernel and a change in rasdaemon. See: 6986d81 The Kernel patch was already merged and backported to Kernel 6.1.12: https://lwn.net/Articles/923307/. I merged today the rasdaemon patch and released version 0.8.0, but Fedora packages don't contain the regression fix yet. I'm planning to cherry-pick the fix and apply for Fedora 36 and 37 later today. Anyway if you want to check, you can either wait for 6.1.12 or download it from koji, and build rasdaemon from the sources using |
I added a Fedora 37 package, based on version 0.6.8: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e1ccb95257. Yet, I'd appreciate feedback on version 0.8.0 as well, as it is now using libtraceevent. |
I now have both kernel 6.1.12, and rasdaemon 0.6.8 which hit Fedora's stable repo last night. rasdaemon 0.6.8 hasn't segfaulted as expected. But now it gives a SELinux denial for attempting to access After getting rasdaemon 0.6.8 and checking |
Hello, The dac_override capability is requested on an access attempt where DAC permission do not allow this access and usually indicate a problem with the permissions. Please use strace to locate the files or turn on full auditing to gather more information.
|
I finally had another MCE event while still on Fedora 37 with I've now updated to Fedora 38, and have @zpytela This is what I get after following that and restarting
|
Thank you, I can confirm that. I've created a kernel bz to make the file read-write. |
Since that kernel change was implemented, I've no longer seen any rasdaemon related selinux denials. I am still getting repeated crashes from rasdaemon 0.8.0 however. This is from the start of my most recent session. |
@DonKatsu The service was starting on my vm without errors, so please file a new bz on the ras component. |
Sorry, I didn't mean to imply the crashing was to do with selinux. Had an MCE event today after nothing for two months. |
Distro: Fedora 37 KDE
Kernel: 6.1.8
rasdaemon version: 0.6.8
CPU: Ryzen 9 5900x
Due to the erroneous reporting of disk errors by rasdaemon bloating my log, I deleted the files
ras-mc_event.db
andras-mc_event.db-journal
in/var/lib/rasdaemon
. After restarting the rasdaemon service clean ones were created.Since then I had noticed it stopped logging those false disk errors. Then eventually I got another MCE error, and noticed that one wasn't logged either. (Not sure if doing that was directly related, but the timing lined up.) I reinstalled rasdaemon and waited for another one to happen to be sure.
This latest one wasn't logged either, and those supposed disk errors still aren't as well even though the service still seems to be reporting them.
Screenshot.
Journal log of a
systemctl restart rasdaemon
. Those core dumps happen on a fresh boot as well.I have uninstalled mcelog, and I don't have the ras-mc-ctl service enabled since it fails and exits due to my system not having ECC memory.
The text was updated successfully, but these errors were encountered: