Bug 109426
Summary: | ccm-tools-servlet-resin fails to install due to bugs in rpm-4.1 | ||
---|---|---|---|
Product: | [Retired] Red Hat Web Application Framework | Reporter: | Vadim Nasardinov <vnasardinov> |
Component: | dev environment | Assignee: | ccm-bugs-list |
Status: | CLOSED WONTFIX | QA Contact: | Jon Orris <jorris> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | nightly | CC: | berrange, dgregor |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-12-07 23:23:39 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
Vadim Nasardinov
2003-11-07 19:24:54 UTC
I synced to //tools/...@37830 and rebuilt the RPMs to pick up the following fix: $ p4 describe -s 37830 Change 37830 by dennis@galileo-dennis on 2003/11/07 14:22:48 default RPM_INSTALL_PREFIX[N] in case the user has broken rpm 4.1 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75057 Now I get $ sudo rpm --replacepkgs --replacefiles -Uvvh *.rpm D: install: %post(ccm-tools-servlet-tomcat-0.9.0-1) asynchronous scriptlet start D: install: %post(ccm-tools-servlet-tomcat-0.9.0-1) execv(/bin/sh) pid 19566 + '[' -z '' ']' + RPM_INSTALL_PREFIX1=/etc + alternatives --install /etc/profile.d/ccm-tools-servlet.sh ccm-servlet /etc/ccm-tools/tomcat.sh 10 failed to read link /profile.d/ccm-tools-servlet.sh: No such file or directory the primary link for ccm-servlet must be /profile.d/ccm-tools-servlet.sh D: install: waitpid(19566) rc 19566 status 200 error: %post(ccm-tools-servlet-tomcat-0.9.0-1) scriptlet failed, exit status 2 Never mind. I think this is a carryover from the previous failed install. $ sudo /usr/sbin/alternatives --display ccm-servlet failed to read link /profile.d/ccm-tools-servlet.sh: No such file or directory $ ls -l /var/lib/alternatives/ccm-servlet -rw-r--r-- 1 root root 84 Nov 7 14:03 /var/lib/alternatives/ccm-servlet I'll try deleting this. Ok, this seems to work after I moved the botched up /var/lib/alternatives/ccm-servlet file out of the way: $ sudo mv /var/lib/alternatives/ccm-servlet /tmp $ sudo rpm --replacepkgs --replacefiles -Uvvh *.rpm *** output flushed *** $ cat /var/lib/alternatives/ccm-servlet auto /etc/profile.d/ccm-tools-servlet.sh /etc/ccm-tools/resin.sh 5 /etc/ccm-tools/tomcat.sh 10 Marking QA_READY. Thanks, Dennis. QA_READY has been deprecated in favor of ON_QA. Please use ON_QA in the future. Moving to ON_QA. closing old CCM bugs |