Gentoo Archives: gentoo-user

From: Christoph Nodes <cnodes@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Avoiding core dumps
Date: Sun, 25 Feb 2007 21:23:56
Message-Id: 9712a49f0702251312p16c24a38t52db2d9610a527ca@mail.gmail.com
1 Dear gentoo users,
2
3 since a few months I am getting core dumps in / and $HOME/ on my
4 notebook. I am not aware of having changed anything with my PAM or
5 similar settings. Has there be any changes to the default policy in
6 PAM concerning core dumps?
7
8 I would like to suppress the generation of core dumps for normal users.
9
10 ulimit -c as normal user gives me 976 block as root I get 0. I know
11 that setting ulimit -c 0 in .bash_profile or .profile could be a
12 solution but I'm looking for a more appropriate way to avoid core
13 dumps for normal users.
14
15 I already read http://www.gentoo.org/proj/en/qa/backtraces.xml but the
16 information there seems to be somehow outdated since I don't have a
17 /etc/limits.conf only a /etc/limits. But AFAIK this ought to be
18 irrelevant for me as I am using PAM?
19
20 Anyhow, I did not change anything to /etc/security/limits.conf or
21 /etc/limits, i.e. everything in these files is commented out. I also
22 checked /etc/conf.d/rc and it seems to be ok.
23
24 So how can I get rid of these core dumps?
25
26 I am using sys-libs/pam-0.78-r5.
27
28 Some more general information about my system:
29 # emerge --version
30 Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0,
31 2.6.19-ck2-r1 i686)
32
33 What else?
34
35 Thanks in advance.
36
37 Best regards,
38 Christoph
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Avoiding core dumps David Relson <relson@×××××××××××××.com>