error message keeps popping up

Posted

How do I resolve this?
SELinux is preventing /usr/lib/systemd/systemd-coredump from read access on the file labeled nsfs_t.

If you believe that systemd-coredump should be allowed read access on file labeled nsfs_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:

ausearch -c 'systemd-coredum' --raw | audit2allow -M my-systemdcoredum

semodule -X 300 -i my-systemdcoredum.pp

Additional Information:
Source Context system_u:system_r:systemd_coredump_t:s0
Target Context system_u:object_r:nsfs_t:s0
Target Objects Unknown [ file ]
Source systemd-coredum
Source Path /usr/lib/systemd/systemd-coredump
Port
Host debian
Source RPM Packages systemd-udev-252-32.el9_4.7.x86_64
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-38.1.35-2.el9_4.2.noarch
Local Policy RPM selinux-policy-targeted-38.1.35-2.el9_4.2.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name debian
Platform Linux debian 5.14.0-427.33.1.el9_4.x86_64 #1 SMP
PREEMPT_DYNAMIC Fri Aug 16 10:56:24 EDT 2024
x86_64 x86_64
Alert Count 2
First Seen 2024-09-04 09:15:07 EDT
Last Seen 2024-09-04 09:49:27 EDT
Local ID 568d95ec-99f5-4bd6-8035-283befd14bb1

Raw Audit Messages
type=AVC msg=audit(1725457767.318:487): avc: denied { read } for pid=16568 comm="systemd-coredum" dev="nsfs" ino=4026531841 scontext=system_u:system_r:systemd_coredump_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=0

type=SYSCALL msg=audit(1725457767.318:487): arch=x86_64 syscall=openat success=no exit=EACCES a0=ffffff9c a1=7fff915bf0c0 a2=80100 a3=0 items=0 ppid=2 pid=16568 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-coredum exe=/usr/lib/systemd/systemd-coredump subj=system_u:system_r:systemd_coredump_t:s0 key=(null)

Hash: systemd-coredum,systemd_coredump_t,nsfs_t,file,read

Responses