Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 458360

Summary: enable userspace kernel header check
Product: Red Hat Enterprise Linux 5 Reporter: Don Zickus <dzickus>
Component: kernelAssignee: Don Zickus <dzickus>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:10:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
header patch none

Description Don Zickus 2008-08-07 19:17:24 UTC
Description of problem:
Applications accessing the kernel using header files generated by the kernel in the kernel-headers package.  Currently there are a handful of header files that will cause an application to fail to compile if used because inside those header files are calls to other header files that don't exist.

I have a patch that fixes those handful of header files and enables the brew build to fail if more of those files pop up.  This will allow us to catch problems earlier rather than later.

The check is worth its weight because not every application is rebuilt all the time.  When the time comes to fix an application and rebuild it, the kernel-headers used under brew may now contain broken headers causing the app to fail to build (and wasting hours of an engineers time).  Of course these headers could have been broken for months and no one would know.

So lets save a ton of stress and one big fire drill and fix these now and enable the check to prevent future problems. :-)



Version-Release number of selected component (if applicable):
2.6.18-92.el5

How reproducible:
always

Steps to Reproduce:
1.  compile an application with icmp.h or utsname.h
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Don Zickus 2008-08-07 19:43:45 UTC
Created attachment 313741 [details]
header patch

attached the patch

Comment 2 Don Zickus 2008-09-10 20:14:39 UTC
in kernel-2.6.18-110.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 6 errata-xmlrpc 2009-01-20 20:10:28 UTC
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 therefore 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.

http://rhn.redhat.com/errata/RHSA-2009-0225.html