Bug 461551
Summary: | initscripts unmounts /usr before calling kexec which needs it... | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jonathan Peatfield <j.s.peatfield> | ||||||||||
Component: | kexec-tools | Assignee: | Neil Horman <nhorman> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||||||
Severity: | low | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 5.2 | CC: | notting, qcai, riek | ||||||||||
Target Milestone: | rc | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | |||||||||||||
: | 600608 (view as bug list) | Environment: | |||||||||||
Last Closed: | 2009-01-20 20:59:54 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: | |||||||||||||
Attachments: |
|
Description
Jonathan Peatfield
2008-09-09 01:15:10 UTC
The tools need to be able to work with just /. Assigning to kexec-tools. Created attachment 316198 [details]
patch to statically link zlib
here, please confirm that this fixes the problem for you. Thanks
I take it that this specfile patch is against kexec-tools-1.102pre-21.el5 I'll try rebuilding with that patch applied and see what happens... With a minor tweak to move the --without-zlib outside the %ifarch that seems to work for me... Created attachment 316204 [details]
fix to patch to specfile
Trivial change...
Hmm, configure using --without-zlib results in a very different content of Makefile.conf which seems to be missing all the HAVE_<feature> options in DEFS. I don't know if it really matters - the resulting kexec binary seems to work for me but I may be lucky or it might be a problem on certain platforms. Also since HAVE_ZLIB_H is missing it doesn't link against zlib at all since the function in kexec/kexec.c is #ifdef'd out so slurp_decompress_file() doesn't do any decompression. I don't know if that really matters or not. Here is a terrible hack to leave the configure alone and directly patch the Makefile.conf to add the static-link option... You can probably make this a lot cleaner... Created attachment 316215 [details]
different patch to specfile
edit Makefile.conf after running comnfigure...
Created attachment 316216 [details]
make that a unidiff (doh!)
Comment on attachment 316215 [details]
different patch to specfile
wrong diff options
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0105.html |