* [gentoo-user] Avoiding core dumps
@ 2007-02-25 21:12 Christoph Nodes
2007-02-25 23:39 ` David Relson
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Nodes @ 2007-02-25 21:12 UTC (permalink / raw
To: gentoo-user
Dear gentoo users,
since a few months I am getting core dumps in / and $HOME/ on my
notebook. I am not aware of having changed anything with my PAM or
similar settings. Has there be any changes to the default policy in
PAM concerning core dumps?
I would like to suppress the generation of core dumps for normal users.
ulimit -c as normal user gives me 976 block as root I get 0. I know
that setting ulimit -c 0 in .bash_profile or .profile could be a
solution but I'm looking for a more appropriate way to avoid core
dumps for normal users.
I already read http://www.gentoo.org/proj/en/qa/backtraces.xml but the
information there seems to be somehow outdated since I don't have a
/etc/limits.conf only a /etc/limits. But AFAIK this ought to be
irrelevant for me as I am using PAM?
Anyhow, I did not change anything to /etc/security/limits.conf or
/etc/limits, i.e. everything in these files is commented out. I also
checked /etc/conf.d/rc and it seems to be ok.
So how can I get rid of these core dumps?
I am using sys-libs/pam-0.78-r5.
Some more general information about my system:
# emerge --version
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0,
2.6.19-ck2-r1 i686)
What else?
Thanks in advance.
Best regards,
Christoph
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Avoiding core dumps
2007-02-25 21:12 [gentoo-user] Avoiding core dumps Christoph Nodes
@ 2007-02-25 23:39 ` David Relson
[not found] ` <20070226183032.2387fcbe@pascal.spore.ath.cx>
0 siblings, 1 reply; 4+ messages in thread
From: David Relson @ 2007-02-25 23:39 UTC (permalink / raw
To: gentoo-user; +Cc: cnodes
On Sun, 25 Feb 2007 22:12:49 +0100
Christoph Nodes wrote:
> Dear gentoo users,
>
> since a few months I am getting core dumps in / and $HOME/ on my
> notebook. I am not aware of having changed anything with my PAM or
> similar settings. Has there be any changes to the default policy in
> PAM concerning core dumps?
>
> I would like to suppress the generation of core dumps for normal
> users.
>
> ulimit -c as normal user gives me 976 block as root I get 0. I know
> that setting ulimit -c 0 in .bash_profile or .profile could be a
> solution but I'm looking for a more appropriate way to avoid core
> dumps for normal users.
>
> I already read http://www.gentoo.org/proj/en/qa/backtraces.xml but the
> information there seems to be somehow outdated since I don't have a
> /etc/limits.conf only a /etc/limits. But AFAIK this ought to be
> irrelevant for me as I am using PAM?
>
> Anyhow, I did not change anything to /etc/security/limits.conf or
> /etc/limits, i.e. everything in these files is commented out. I also
> checked /etc/conf.d/rc and it seems to be ok.
>
> So how can I get rid of these core dumps?
>
> I am using sys-libs/pam-0.78-r5.
>
> Some more general information about my system:
> # emerge --version
> Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0,
> 2.6.19-ck2-r1 i686)
>
> What else?
>
> Thanks in advance.
>
> Best regards,
> Christoph
As best I know, it's the ulimit setting that's relevant and pam is not
involved.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Avoiding core dumps
[not found] ` <20070226183032.2387fcbe@pascal.spore.ath.cx>
@ 2007-02-27 0:56 ` Boyd Stephen Smith Jr.
2007-02-27 8:33 ` Christoph Nodes
0 siblings, 1 reply; 4+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-02-27 0:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 969 bytes --]
On Monday 26 February 2007, Dan Farrell <dan@spore.ath.cx> wrote about 'Re:
[gentoo-user] Avoiding core dumps':
> On Sun, 25 Feb 2007 18:39:27 -0500
> David Relson <relson@osagesoftware.com> wrote:
> > On Sun, 25 Feb 2007 22:12:49 +0100
> > Christoph Nodes wrote:
> > > I am using sys-libs/pam-0.78-r5.
> >
> > As best I know, it's the ulimit setting that's relevant and pam is not
> > involved.
>
> AFAIK, pam is only for Authentication.
There are a lot of tangential issues (like limits) that were traditionally
controlled by the authentication "stack" on unix. PAM allows you to
replace all of this, so there are indeed PAM modules that control limits.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss03@volumehost.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.org/ \_/
New GPG Key! Old key expires 2007-03-25. Upgrade NOW!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Avoiding core dumps
2007-02-27 0:56 ` Boyd Stephen Smith Jr.
@ 2007-02-27 8:33 ` Christoph Nodes
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Nodes @ 2007-02-27 8:33 UTC (permalink / raw
To: gentoo-user
On 2/27/07, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
> On Monday 26 February 2007, Dan Farrell <dan@spore.ath.cx> wrote about 'Re:
> [gentoo-user] Avoiding core dumps':
> > On Sun, 25 Feb 2007 18:39:27 -0500
> > David Relson <relson@osagesoftware.com> wrote:
> > > On Sun, 25 Feb 2007 22:12:49 +0100
> > > Christoph Nodes wrote:
> > > > I am using sys-libs/pam-0.78-r5.
> > >
> > > As best I know, it's the ulimit setting that's relevant and pam is not
> > > involved.
> >
> > AFAIK, pam is only for Authentication.
>
> There are a lot of tangential issues (like limits) that were traditionally
> controlled by the authentication "stack" on unix. PAM allows you to
> replace all of this, so there are indeed PAM modules that control limits.
Thank you all for your answers.
I added 'ulimit -c 0' to /etc/profile but I am not completely happy
with this. Why do I have to change anything? I always thought not
alowing core dumps would be the default behaviour.
I guess KDE's crash handler could also responsible for changing the
core dump limit. I'll have a look.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-27 8:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-25 21:12 [gentoo-user] Avoiding core dumps Christoph Nodes
2007-02-25 23:39 ` David Relson
[not found] ` <20070226183032.2387fcbe@pascal.spore.ath.cx>
2007-02-27 0:56 ` Boyd Stephen Smith Jr.
2007-02-27 8:33 ` Christoph Nodes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox