Bug 740073

Summary: anaconda ignores dependencies from repository on the DVD
Product: Red Hat Enterprise Linux 5 Reporter: Vadym Chepkov <vchepkov>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-08 19:15:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vadym Chepkov 2011-09-20 20:36:45 UTC
We have observed the same behavior with RHEL 5.6 and RHEL 5.7

In order to automate secure deployment , we added "updates" directory to the DVD image with the following content:

# ls -1 updates
httpd-2.2.3-53.el5_7.1.i386.rpm
kernel-headers-2.6.18-274.3.1.el5.i386.rpm
kernel-PAE-2.6.18-274.3.1.el5.i686.rpm
kernel-PAE-devel-2.6.18-274.3.1.el5.i686.rpm
kernel-xen-2.6.18-274.3.1.el5.i686.rpm
kernel-xen-devel-2.6.18-274.3.1.el5.i686.rpm
repodata

then in kickstart file we added reference to this repository:

repo --name=updates --baseurl=file:///mnt/source/updates

the updates are being installed, but they disregard any dependencies in RPM, I checked SRMS:

$ grep httpd  mod_nss.spec
Requires(pre): httpd

$ grep httpd php53.spec 
Requires(pre): httpd

but updated httpd is installed out of order, which brakes both php53 and mod_nss:

# egrep "httpd|php53|mod_nss" /root/install.log
Installing mod_nss-1.0.8-4.el5_6.1.i386
error: %post(mod_nss-1.0.8-4.el5_6.1.i386) scriptlet failed, exit status 127
Installing php53-5.3.3-1.el5_6.1.i386
Installing httpd-2.2.3-53.el5_7.1.i386


Interestingly enough, if kickstart uses  external repository (http:// or ftp://) all is installed in the proper order.

Comment 1 David Cantrell 2013-03-08 19:15:24 UTC
While Red Hat welcomes bug reports on Red Hat products here in our public
bugzilla database, please keep in mind that bugzilla is not a support tool or
means of accessing support.  If you would like technical support please visit
our support portal at access.redhat.com or call us for information on
subscription offerings to suit your needs.