You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup core-dump-handler, but get this error in journalctl:
Mar 22 17:22:44 ip-172-30-18-62.ec2.internal kernel: audit: type=1400 audit(1679505764.849:16): avc: denied { execute } for pid=636018 comm="kworker/u4:2" name="cdc" dev="nvme1n1p1" ino=576664 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:local_t:s0 tclass=file permissive=0
Mar 22 17:22:44 ip-172-30-18-62.ec2.internal kernel: Core dump to |/var/mnt/core-dump-handler/cdc pipe failed
OS: Bottlerocket OS 1.12.0 (aws-k8s-1.24)
Replacing |/var/mnt/core-dump-handler/cdc -c=%c -e=%e -p=%p -s=%s -t=%t -d=/var/mnt/core-dump-handler/cores -h=%h -E=%E with |/bin/tee /var/mnt/core-dump-handler/cores/%p, so looks like the problem is external mount
I encountered this issue as well.
OS image: Bottlerocket OS 1.44.0 (aws-k8s-1.33)
I installed and configured the chart. I triggered a segfault using kubectl run -i -t segfaulter --image=quay.io/icdh/segfaulter --restart=Never
The crash was not generated, so I had to connect to the admin container and then access the host filesystem to get /var/log/dmesg kernel messages to see that the SELinux policy had prevented it from executing the composer:
Activity
idavydoff commentedon Sep 8, 2025
Facing the same problem. You replaced core_pattern manually or you changed it somewhere in chart configuration?
np-c0mp1ete commentedon Oct 17, 2025
Hello,
I encountered this issue as well.
OS image: Bottlerocket OS 1.44.0 (aws-k8s-1.33)
I installed and configured the chart. I triggered a segfault using
kubectl run -i -t segfaulter --image=quay.io/icdh/segfaulter --restart=NeverThe crash was not generated, so I had to connect to the admin container and then access the host filesystem to get /var/log/dmesg kernel messages to see that the SELinux policy had prevented it from executing the composer:
We can see here that the kernel was denied of spawning a process in the forbidden_t context (kernel->mutable objects).
The following rule prevents any process not part of the main image (not read only, so mutable) to be executed : https://github.com/bottlerocket-os/bottlerocket-core-kit/blob/8.1.x/packages/selinux-policy/rules.cil#L183
@No9, maybe you have an idea how to workaround this restriction...
Thanks in advance!