Commit 78f8b23
committed
fapolicyd: fix issue with tmpfs_t write
Update to RHEL 9.8, now fapolicyd_t (which is starting
/usr/bin/fapolicyd-rpm-loader) now is writing to memfs:rpm_snapshot
Chnages to include transition to fapolicyd_tmpfs_t for this memfd
node=localhost type=PROCTITLE msg=audit(05/28/2026 14:28:47.058:362): proctitle=fapolicyd-rpm-loader
node=localhost type=SYSCALL msg=audit(05/28/2026 14:28:47.058:362): arch=x86_64 syscall=write success=no exit=EACCES(Permission denied) a0=0x4 a1=0x55f492F86720 a2=0x7d a3=0x7f1e99b1c20 items=0 ppid=4500 pid=4501 auid=unset uid=fapolicyd gid=fapolicyd euid=fapolicyd suid=fapolicyd fsuid=fapolicyd egid=fapolicyd sgid=fapolicyd fsgid=fapolicyd tty=(none) ses=unset comm=fapolicyd-rpm-l exe=/usr/bin/fapolicyd-rpm-loader subj=system_u:system_r:fapolicyd_t:s0 key=(null)
node=localhost type=AVC msg=audit(05/28/2026 14:28:47,058:362): avc: denied { write } for pid=4501 comm=fapolicyd-rpm-l path=/memfd:rpm_snapshot (deleted) dev="tmpfs" ino=2048 scontext=system_u:object_r:fapolicyd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file permissive=0
Signed-off-by: Dave Sugar <dsugar100@gmail.com>1 parent 9db69e4 commit 78f8b23
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
0 commit comments