Description of problem:
Anaconda fails after copying live image to hard drive while performing
post-installation file system changes.
Version-Release number of selected component (if applicable):
4 or 5 tries, unsuccessful
Steps to Reproduce:
1. Load live cd, boot up, log in as root, choose install on hard drive
2. Choose review of file system layout
3. Set up LVM with /=5G, /home=10G, /tmp=5G, /usr=15G, /usr/local=10G, /var=2G
and swap at 2G
4. Get through the rest
5. Let er rip.
Created attachment 157412 [details]
reported output from anaconda scp'd to other box (fc6)
Is it still up -- can you see what's running that's stopping /mnt/sysimage/usr
from being unmounted?
No, it wasn't still up.
I tried this again today, on a spare 30G drive on my thinkpad and got the same
results with different sizes for the partitions.
The fuser shows all the processes using the /mnt but nothing about the
/mnt/sysimage/usr and when I do a straight umount against the /mnt/sysimage/usr
I get "in use" and "not in mtab".
I will leave this one up for a while, so, if there is something specific I can
do to find the user, feel free to let me know.
Try `ls -lR /proc/*/fd` and see if there's anything referencing /mnt/sysimage/usr.
And I'll try to set up a reproducer a bit later today if you don't get anything.
Here's an oddity...
Listing out the /proc/mounts I see that /usr/local (which is one of the
partitions that I allocate separately) is still mounted under /usr...
So, I unmount /mnt/sysimage/usr/local and then I can unmount /mnt/sysimage/usr.
It would seem that either the process knows nothing about allocating /usr/local
or it's a sequencing error.
Aha, I see what's going on. It's definitely due to the /usr/local mountpoint.
When we go to do the rearranging of bits, it doesn't taken into accounts mount
like that. Working on a fix...
Okay, fixed in anaconda CVS but I want to spend a little bit more time testing
it before being comfortable committing it on the F7 branch for a future update.
If you want to grab it and test it you can do
cvs -d:pserver:email@example.com:/usr/local/CVS co anaconda/livecd.py
and replace /usr/lib/anaconda/livecd.py with it
*** Bug 246055 has been marked as a duplicate of this bug. ***
*** Bug 243374 has been marked as a duplicate of this bug. ***