Bug 143769 - ia32el doesn't use the values of kernel parameters about core file.
ia32el doesn't use the values of kernel parameters about core file.
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: ia32el (Show other bugs)
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
: 143767 (view as bug list)
Depends On:
Blocks: 168429 169570 170718
  Show dependency treegraph
Reported: 2004-12-27 06:53 EST by L3support
Modified: 2007-11-30 17:07 EST (History)
10 users (show)

See Also:
Fixed In Version: RHBA-2006-0131
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-07 13:16:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description L3support 2004-12-27 06:53:12 EST
Description of problem:
ia32el doesn't use kernel parameters related to core file when ia32el
creates a elf32 core file.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. set kernel parameters

   # echo /tmp/mycore-%e-%p-%t > /proc/sys/kernel/core_pattern
   # echo 0 > /proc/sys/kernel/core_uses_pid 
   # cat /proc/sys/kernel/core_pattern
   # cat /proc/sys/kernel/core_uses_pid

2. compile test program

   compile on ia64 machine
   # cat test.c
       int *p, *q;
   # cc -o test_ia64 test.c
   compile on i32 machine
   # cc -o test_ia32 test.c

3. run test program

   # pwd
   # ./test_ia64
   Segmentation fault (core dumped)
   # ./test_ia32
   Segmentation fault (core dumped)
   # ls /tmp
   # ls /var/tmp/work
Actual results:
   # ls /var/tmp/work

Expected results:
   # ls /tmp

Additional info:
Comment 1 Jakub Jelinek 2004-12-27 07:00:58 EST
*** Bug 143767 has been marked as a duplicate of this bug. ***
Comment 2 Yoav Zach 2004-12-27 07:09:30 EST
The severity and priority of this entry are both set to normal. Is this 
correct ?

Comment 3 Jakub Jelinek 2004-12-27 07:14:26 EST
Maybe low is more appropriate, not sure.
Comment 4 Yoav Zach 2004-12-27 13:02:55 EST
we already have a fix for this problem internaly, but it obviously won't make 
it into RHEL4 at this point. i suggest we resolve this entry with 'closed 
deffered'. any objections to that ?

Comment 5 L3support 2004-12-27 20:05:00 EST
It doesn't matter to me. But could you tell me when the fixed version
is released? Is it included in RHEL4 RC or GM?

Comment 6 Yoav Zach 2004-12-28 01:14:58 EST
it missed the train for RHEL4. it will probably be distributed in one 
of the updates.
Comment 7 Jakub Jelinek 2004-12-28 04:34:56 EST
I guess it is a RHEL4 U1 candidate.  For that we should keep the bug open though
and as soon as bugzilla has RHEL4 as Product/Version pair this bug should be
moved there.
Comment 8 RHEL4-L3support 2005-01-18 21:17:37 EST
Add RHEL4-L3support team in Japan
Comment 9 L3support 2005-02-09 00:02:38 EST
Has the fixed version been registered as RHEL4 U1 candidate?

Comment 11 Jakub Jelinek 2005-02-09 15:16:23 EST
ia32el-1.2-2 has the changes in.
Comment 12 Jay Turner 2005-02-10 07:14:07 EST
Changing this to MODIFIED so that we can test.  The package is built into
Comment 13 Jakub Jelinek 2005-03-30 12:04:25 EST
Unfortunately what is in ia32el-1.2-3 doesn't match kernel's core_pattern
handling.  ia32el handles core_pattern as a string and if
/proc/sys/kernel/core_uses_pid is not 0, appends .%p expanded to it.
But kernel expands %h in /proc/sys/kernel/core_pattern into hostname, %p into
pid, %u into uid, etc., and if /proc/sys/kernel/core_uses_pid is not 0
or the process has multiple threads, appends pid if core_pattern did not contain
I think for U1 we need to keep this as is, but would be good to fix it for
Comment 14 Jay Turner 2005-04-18 04:44:37 EDT
Moving this to the U2 tracker list.
Comment 28 Yoav Zach 2005-11-08 07:23:02 EST
I believe this issue is fixed in U2. Fujitsu - can you please verify and 
close ? Jay - I could not find the corresponding tracker. Do you know what it 
is ?
Comment 29 Jakub Jelinek 2005-11-08 07:29:17 EST
It is definitely not fixed in U2, nor in
There were some changes in U1, but not sufficient, see comment #13.
I haven't looked into newer sources yet to see if it got fixed there.
Comment 30 Yoav Zach 2005-11-08 08:12:52 EST
Your'e right - the fix was in Sorry for the confusion. Do you 
know what's the issue-tracker # for this ?
Comment 31 Jay Turner 2005-11-08 10:42:43 EST
Comment 33 Jakub Jelinek 2005-11-16 06:56:17 EST
ia32el-1.3-2 built into 4E-lacd-qu-candidate.
Comment 38 Red Hat Bugzilla 2006-03-07 13:16:00 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.