Bug 206158

Summary: UTS_RELEASE define missing in include/linux/version.h
Product: Red Hat Enterprise Linux 5 Reporter: Aleksandar Milivojevic <alex>
Component: kernelAssignee: Don Zickus <dzickus>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: lwang
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-21 02:21:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Aleksandar Milivojevic 2006-09-12 15:28:24 UTC
Description of problem:
I don't know if this is the change in the upstream kernel or ommision in RHEL5.
 Probably the former (in which case this isn't really a bug).  The 2.6.9 kernels
in RHEL4 have UTS_RELEASE defined.

While running vmware-config-tools.pl script (from ESX 3.0 packages), and
attempting to build vmware's modules, the script failed because UTS_RELEASE
define was missing from version.h kernel header file.  After readding it, the
script ran fine and built the modules.

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

How reproducible:

Steps to Reproduce:
1. Attempt to run vmware-config-tools.pl
Actual results:

Expected results:

Additional info:

Comment 1 Jay Turner 2006-09-21 02:21:01 UTC
UTS_RELEASE has moved to linux/utsrelease.h

Comment 2 Chris Leighton 2006-11-14 04:57:16 UTC
The issue might be worked around by adding the following line to the beginning
of the header file /usr/src/kernels/<version-rel-arch>/include/linux/version.h:

#include <linux/utsrelease.h>

Comment 3 Chris Leighton 2006-11-14 05:11:46 UTC
Further to comment #2:
can be used with Fedora Core 5: kernel-2.6.18-1.2200.fc5, kernel-2.6.18-1.2239.fc5