* Coredump when program run as root?
@ 2005-04-16 18:15 Ralf Hildebrandt
2005-04-16 22:45 ` Michael Tokarev
0 siblings, 1 reply; 3+ messages in thread
From: Ralf Hildebrandt @ 2005-04-16 18:15 UTC (permalink / raw)
To: linux-kernel
I found this while trying to find out why squid doesn't produce a core
file:
http://lists.samba.org/archive/samba-technical/2002-August/023576.html
Most UNIX variants disable core dumps in programs that have changed their
uid or euid during operation. This includes Solaris and Linux.
Well, squid does exactly that. How can I still get a coredump? I really
need one. Kernel 2.6.11.7
--
Ralf Hildebrandt (i.A. des IT-Zentrum) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to spamtrap@charite.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Coredump when program run as root?
2005-04-16 18:15 Coredump when program run as root? Ralf Hildebrandt
@ 2005-04-16 22:45 ` Michael Tokarev
0 siblings, 0 replies; 3+ messages in thread
From: Michael Tokarev @ 2005-04-16 22:45 UTC (permalink / raw)
To: Ralf Hildebrandt; +Cc: linux-kernel
Ralf Hildebrandt wrote:
> I found this while trying to find out why squid doesn't produce a core
> file:
>
> http://lists.samba.org/archive/samba-technical/2002-August/023576.html
>
> Most UNIX variants disable core dumps in programs that have changed their
> uid or euid during operation. This includes Solaris and Linux.
>
> Well, squid does exactly that. How can I still get a coredump? I really
> need one. Kernel 2.6.11.7
Not in stock kernel, no.
There's a patch in -ac series which implements 'suid_dumpable' attribute.
It is included with RedHat kernels I think.
The fun stuff is that I wasn't able to use the functionality anyway (i
had similar but a bit worse problem) -- regardless of how hard i tried,
it didn't produce any core dumps ;)
/mjt
P.S. Hi, Ralf! The world is too small! ;)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Coredump when program run as root?
[not found] <3U03M-4Jx-15@gated-at.bofh.it>
@ 2005-04-17 1:03 ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
0 siblings, 0 replies; 3+ messages in thread
From: Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org> @ 2005-04-17 1:03 UTC (permalink / raw)
To: Ralf Hildebrandt, linux-kernel
Ralf Hildebrandt <Ralf.Hildebrandt@charite.de> wrote:
> Most UNIX variants disable core dumps in programs that have changed their
> uid or euid during operation. This includes Solaris and Linux.
>
> Well, squid does exactly that. How can I still get a coredump? I really
> need one. Kernel 2.6.11.7
It cannot change the (e)uid if it is run as user. Maybe this helps.
--
Top 100 things you don't want the sysadmin to say:
78. Do you smell something?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-17 1:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-16 18:15 Coredump when program run as root? Ralf Hildebrandt
2005-04-16 22:45 ` Michael Tokarev
[not found] <3U03M-4Jx-15@gated-at.bofh.it>
2005-04-17 1:03 ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox