I'm using Red Hat Enterprise Linux Server release 5. In this whenever a user process crashes due to segmentaion faults, it was not logged in /var/log/messages. Even dmesg is also not showing any messages related to this.
Where as in another distributions (Cent OS 5), I've seen segfaults messages in /var/log/messages whenever my user process crashed.dmesg also showing the segfaults.
Is there any settings that to enabled so that it logs segfaults into /var/log/messages.
I cross checked /etc/syslog.conf of both the systems. Both are same and even /etc/sysconfig/syslog files.
Now I check kernel source code, arch/x86/mm/fault.c, and found print error message of segfault to /var/log/messages only in 2.6.23 and after. Because RHEL5.4 using 2.6.18 kernel, so that it can't log the info into system log.