2016年2月29日星期一

linux 6.3 一直不产生core,怎么设置都没用

# vi /etc/security/limits.conf

#* soft core 0
* soft core unlimited

# vi /etc/sysctl.conf

kernel.core_pattern = /tmp/core-%e-%s-%u-%g-%p-%t
fs.suid_dumpable = 2

Note:
%e is the filename
%g is the gid the processs was running under
%p is the pid of the process
%s is the signal that caused the dump
%t is the time the dump occurred
%u is the uid the process was running under
# vi /etc/sysconfig/init

DAEMON_COREFILE_LIMIT=’unlimited’

# sysctl -p
以上都作了,还是不行。

进一步,我
https://www.stigviewer.com/stig/red_hat_enterprise_linux_6/2015-03-06/finding/V-38640
disable 的abrtd,还是没出来。

没有评论:

发表评论