Bug 463547

Summary: [LTC 6.0 FEAT] 201074:Pre/post install hooks needed in Kernel module packaging infrastructure.
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: driver-update-programAssignee: Jon Masters <jcm>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.0CC: ahe, andriusb, bzeranski, ejratl
Target Milestone: rcKeywords: FutureFeature
Target Release: 6.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-01 06:16:52 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:
Bug Depends On:    
Bug Blocks: 356741, 503551    

Description IBM Bug Proxy 2008-09-23 21:01:29 UTC
=Comment: #1=================================================
Emily J. Ratliff <emilyr.com> - 2008-09-17 15:44 EDT
1. Feature Overview:
Feature Id:	[201074]
a. Name of Feature:	Pre/post install hooks needed in Kernel module packaging
infrastructure.
b. Feature Description
Kernel module packaging standard supported by distro do not allow the module
packager to execute special code as part of pre and post installation of the
rpm.  This is a big handicap especially for packaging storage drivers.  There
are instances where the driver in the package needs to be added to initrd.  And
to add the driver in initrd the distro driver update/build process needs to add
information in configuration files as part of post install of the rpm.

Additional Comments:	This will be validation only for RHEL6 if
https://bugzilla.redhat.com/show_bug.cgi?id=253219 makes it into 5.3 (in POST as
of 9/5/2008).

2. Feature Details:
Sponsor:	xSeries
Architectures:
x86
x86_64

Arch Specificity: Purely Common Code
Affects Kernel Modules: Yes
Delivery Mechanism: Request Red Hat development assistance
Category:	xSeries
Request Type:	Driver - Feature from Vendor
d. Upstream Acceptance:	Submitted
Sponsor Priority	1
f. Severity: High
IBM Confidential:	no
Code Contribution:	3rd party code
g. Component Version Target:	Distro deliverable.

3. Business Case
System-x's UxSP uses the distro driver update technology to install drivers. But
unfortunately we have to build ugly hacks to get the driver into the initrd,
because of lack of this support.  E.g., the emulex driver has 5 different
modules, one of which is not shipped in the distro. So when the emulex driver is
packaged, the one driver is not added to the initrd.  Also, some drivers
distributed in distro have different names than those provided by the IHV. Hence
without the support requested above there is no easy way to populate the initrd
with the appropriate driver. Apart from the above there can be  creative ways of
using the pre/post installation hooks in the driver update process.

Benefits
removes some of the blocks from wide spread use of distro driver update technology.

4. Primary contact at Red Hat: 
John Jarvis
jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Monte Knutson, mknutson.com, 877-894-1495

Technical contact(s):
Kevin Stansell, kstansel.com
Ramachandra Pai, pair.com

Comment 1 IBM Bug Proxy 2009-09-16 18:30:31 UTC
------- Comment From lcm.com 2009-09-16 14:25 EDT-------
IBM submitted a fix for this problem in 03/2008 for RHEL5.3. The problem has not been fixed in RHEL5.3 or RHEL5.4. It appears that there is no interest in addressing this for RHEL5 and it's unknown whether the issue will exist in RHEL6. Either way, there doesn't appear to be enough interest on either side. So, let's not invest any time on this one.

Comment 2 Jon Masters 2009-12-01 06:16:52 UTC
There are pre-post hooks in the Fedora kernel package itself, which means that there should be a way to achieve something like this in RHEL6. We have no plans to address this in RHEL5 or through a specific change to the Driver Update Program. I will follow your advice and close this bug.