Skip to content
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

Allow rasdaemon write access to sysfs #2318

Open
wants to merge 1 commit into
base: rawhide
Choose a base branch
from

Conversation

ca-hu
Copy link
Contributor

@ca-hu ca-hu commented Aug 23, 2024

Error message in rasdaemon:
Aug 23 09:38:48 localhost rasdaemon[17117]: rasdaemon: Kernel does not support page offline interface

Fixes:

time->Fri Aug 23 09:38:48 2024
type=AVC msg=audit(1724398728.627:998): avc: denied { write } for pid=17117 comm="rasdaemon" name="soft_offline_page" dev="sysfs" ino=46 scontext=system_u:system_r:rasdaemon_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file permissive=0

see: https://bugzilla.suse.com/show_bug.cgi?id=1229587

Error message in rasdaemon:
Aug 23 09:38:48 localhost rasdaemon[17117]: rasdaemon: Kernel does not support page offline interface

Fixes:
----
time->Fri Aug 23 09:38:48 2024
type=AVC msg=audit(1724398728.627:998): avc:  denied  { write } for  pid=17117 comm="rasdaemon" name="soft_offline_page" dev="sysfs" ino=46 scontext=system_u:system_r:rasdaemon_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file permissive=0

Signed-off-by: Cathy Hu <[email protected]>
Copy link

Cockpit tests failed for commit 23f4b75. @martinpitt, @jelly, @mvollmer please check.

@martinpitt
Copy link
Contributor

These two failures are unrelated to this PR, we started to see them in cockpit PRs as well. Something else in F41/rawhide regressed. Please ignore for now, will investigate on Monday.

@martinpitt
Copy link
Contributor

martinpitt commented Aug 26, 2024

This F41/rawhide cockpit failure is due to a coreutils/gnulib regression, see https://bugzilla.redhat.com/show_bug.cgi?id=2307847 . We created a naughty pattern ("failure due to OS regression") for that in cockpit-project/bots#6790 . This and cockpit-project/bots#6793 landed now, so the next run will be green again. You can retry or ignore here.

Update: I forgot that I can retry myself in this project, kicked.

@zpytela
Copy link
Contributor

zpytela commented Sep 6, 2024

@ca-hu does the service need to write to one particular file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants