Bug 471242
Summary: | error in post scriplet leaves system with 2 versions of httpd installed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Don Vanco <don.vanco> |
Component: | httpd | Assignee: | Joe Orton <jorton> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | BaseOS QE <qe-baseos-auto> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-10 15:07:31 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: |
Description
Don Vanco
2008-11-12 16:17:10 UTC
Can you give the output of: # rpm -V httpd chkconfig # chkconfig --list httpd Joe, just you let you know, I ran an erase on the old package. yum erase httpd-2.2.3-11.el5_1.3 Things still seem a bit wonky as you'll see below, so I suppose the best step would be to erase and reinstall (the current version). ...but here's the requested details: [root@dvlap5 ~]# rpm -V httpd chkconfig S.5....T c /etc/rc.d/init.d/httpd missing /usr/share/doc/httpd-2.2.3 missing d /usr/share/doc/httpd-2.2.3/ABOUT_APACHE missing d /usr/share/doc/httpd-2.2.3/CHANGES missing d /usr/share/doc/httpd-2.2.3/LICENSE missing d /usr/share/doc/httpd-2.2.3/NOTICE missing d /usr/share/doc/httpd-2.2.3/README missing d /usr/share/doc/httpd-2.2.3/VERSIONING missing d /usr/share/doc/httpd-2.2.3/migration.css missing d /usr/share/doc/httpd-2.2.3/migration.html [root@dvlap5 ~]# chkconfig --list httpd service httpd does not support chkconfig [root@dvlap5 ~]# head /etc/rc.d/init.d/httpd -n 15 #!/bin/bash # # httpd Startup script for the Apache HTTP Server # # chkconfig: 85 15 # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI. # processname: httpd # config: /etc/httpd/conf/httpd.conf # config: /etc/sysconfig/httpd # pidfile: /var/run/httpd.pid # Source function library. . /etc/rc.d/init.d/functions [root@dvlap5 ~]# ls -la /etc/rc.d/init.d/httpd -rwxr-xr-x 1 root root 3198 Sep 25 11:12 /etc/rc.d/init.d/httpd Had you modified the init script in some way before performing the upgrade? The -V output implies it is now modified: S.5....T c /etc/rc.d/init.d/httpd I can't see how the error from chkconfig could have occurred unless the init script had been modified or become corrupt somehow. I have not altered this (or any) init script on this host. I suppose corruption is possible, but I'd have to question from whence it came... By any chance have you done a diff on the init script between the 2 versions? My guess it's the script from the older, hence the validation output message. I will have some free time in a couple days - if you like I can: - revert to the old release by removing the current package, validating that the init script gets removed and then installing the old package - run a verify to insure the script passes muster - try the upgrade again - verify the state of the script again If there's any reason / benefit to using rpm -vs- yum (or vice-versa) just let me know No, there should be no change to the init script between those package versions. It would certainly be useful to see if you can reproduce this. I'd recommend specificially: 1) "yum erase httpd" 2) make sure the init script is removed from the filesystem 3) install the older release 4) rpm -V httpd 5) chkconfig --list httpd 6) "yum update httpd" to perform the upgrade Since we lack a reliable reproduction case for this issue, this bug will be closed. If you have issues impacting your use of Red Hat Enterprise Linux, please contact your support representative. Information about our production support process can be found at: http://www.redhat.com/support/process/ |