Skip to content

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Sep 26, 2025

Label /sys/devices/system/memory/soft_offline_page with memory_offline_page_t.

Resolves: RHEL-86926

Copy link

Cockpit tests failed for commit 4f6c7eb. @martinpitt, @jelly, @mvollmer please check.

Label /sys/devices/system/memory/soft_offline_page with
memory_offline_page_t.

Resolves: RHEL-86926
The commit addresses the following AVC denial:
type=PROCTITLE msg=audit(04/09/2025 09:25:36.104:3309) : proctitle=/usr/sbin/rasdaemon -f -r
type=PATH msg=audit(04/09/2025 09:25:36.104:3309) : item=0 name=/sys/devices/system/memory/soft_offline_page inode=41 dev=00:19 mode=file,200 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:sysfs_t:s0 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0
type=SYSCALL msg=audit(04/09/2025 09:25:36.104:3309) : arch=aarch64 syscall=faccessat success=no exit=EACCES(Permission denied) a0=AT_FDCWD a1=0xaaaacfbb7458 a2=W_OK a3=0x5 items=1 ppid=1 pid=195589 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=rasdaemon exe=/usr/sbin/rasdaemon subj=system_u:system_r:rasdaemon_t:s0 key=(null)
type=AVC msg=audit(04/09/2025 09:25:36.104:3309) : avc:  denied  { write } for  pid=195589 comm=rasdaemon name=soft_offline_page dev="sysfs" ino=41 scontext=system_u:system_r:rasdaemon_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file permissive=0

Resolves: RHEL-86926
@zpytela zpytela marked this pull request as ready for review September 29, 2025 13:15
@zpytela zpytela marked this pull request as draft September 29, 2025 13:23
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.

1 participant