On 29.1.2015 23:18, Bruce Dubbs wrote:
Alexey Orishko wrote:
Hi all,
It looks like by default no core dump file would be generated on LFS
system. I wonder if someone had any experience with core dump
settings.
If I add something like "* C5000" in the /etc/limits file would it
keep all other values as default ones?
Does this setting affect user space app/daemons only or kernel core
dump is affected as well?
Any recommendation for dump size?
Can something related to core dump settings be stated in
/etc/sysctrl.conf?
Is there a full list of parameters available for that file?
/etc/limits is a pam file.
No, not really. /etc/security/limits.conf is a PAM file. BLFS shadow
instructions move /etc/limits to /etc/limits.nouse when built against
PAM. I can't find any reference on google about /etc/limits but it's
part of the shadow source tarball from what I could find out by
examining the tarball.
Personally, if I wanted to change a limit, I'd just add
ulimit -c 5000
in ~/.bash_profile.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style