kernel's security warning is sometimes output even if kernel.core_pattern and fs.suid_dumpable are configured correctly
Issue
Even if kernel.core_pattern and fs.suid_dumpable are configured correctly in /etc/sysctl.conf as:
# grep -E "(core_pattern|fs.suid_dumpable)" /etc/sysctl.conf
kernel.core_pattern=/var/tmp/core.%p.%e
fs.suid_dumpable=2
the following kernel message is sometimes output on system boot:
Unsafe core_pattern used with suid_dumpable=2. Pipe handler or fully qualified core dump path required.
In particular, there could be other kernel parameters that depend on the order in which they are configured
and thus are not configured as expected.
Environment
- Red Hat Enterprise Linux 7
- systemd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
