Bug 214677
Summary: | On RHEL5 install using hard drive, filesystem with isos not unmounted before %post in ks.cfg executes | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jose De la Rosa <jose_de_la_rosa> |
Component: | anaconda | Assignee: | Chris Lumens <clumens> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | medium | ||
Version: | 5.0 | CC: | bschneiders, wwlinuxengineering |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 5.0.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-12-21 19:23:10 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: | 200812 |
Description
Jose De la Rosa
2006-11-08 20:39:25 UTC
Another Dell group has reported same problem, they have a workaround, which has still not worked for me. This is a sev 1 for us because this potentially breaks the RHEL 5 re-install process for customers. RHEL 4 does not have this behavior, no workaround is needed there. The workaround code for the other group is: # makes /tmp/sda2 rw (originally mounted ro) mount -w -o remount /tmp/isodir/ # commit to disk sync;sync;sync # lazy unmount. Unmount when filesystem is not busy anymore. umount -l /tmp/isodir/ # commit again sync;sync;sync Our LVM commands (pvcreate, vgextend, lvcreate) in %post to add /dev/sda2 to the LVM pool fail. Root cause of problem: /tmp/sda2 should not be mounted when %post section in ks.cfg executes. This is the case in RHEL4, but for some reason in RHEL5 it's not. Committed a fix to the rhel5 branch. This will be in the next build of anaconda. beta2-candidate of RHEL5 made available to RH has anaconda-11.1.2.16-1. Do we know if the fix went into this version of anaconda ? Chris- What version of Anaconda can we expect to see the fix in ? Beta2-Candidate handed to us a couple of days ago is still broken. It will be in 11.1.2.17-1. Ah, that would explain why beta2-candidate is failing. It has version 11.1.2-16.1. Would 11.1.2.17-1 be in the official Beta2 build ? Setting Beta blocker and ACK flage for 5.0. Setting Beta blocker and ACK flags for 5.0. Fix verified using RHEL 5 Release Candidate Snapshot 3 (kernel-2.6.18- 1.2839.el5) x86. Have not verified x86_64 because of bug #218123, but fix should be arch agnostic. Changing status to VERIFIED based on comment #10 from Jose. RH- Please close. This change affects installations from CDROM media. Now it is nearly impossible to access files from the installation media with %post commands. Modified CD images that previously only required a few added files, a mkisofs and a cdrecord now need a custom built anaconda as well to undo this. |