Description of problem: When installing custom livecd spins on kvm, I often encounter the following python error in post-install: Traceback (most recent call first): File "/usr/lib/anaconda/livecd.py", live 63, in copytree except Error, err: File "/usr/lib/anaconda/livecd.py", line 223, in _doFilesystemMangling "%s/mnt/%s" %(anaconda.rootPath, tocopy)) File "/usr/lib/anaconda/livecd.py", line 279, in doPostInstall self._doFilesystemMangling(anaconda) File "/usr/lib/anaconda/backend.py", line 233, in doPostInstall anaconda.backend.doPostInstall(anaconda) File "/usr/lib/anaconda/dispatch.py", line 203, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext self.moveStep() File "/usr/lib/anaconda/text.py", line 605, in run anaconda.dispatch.gotoNext() File "/usr/sbin/anaconda", line 955, in <module> anaconda.intf.run(anaconda) NameError: global name 'Error' is not defined The install still completes and runs, although it's unclear to me whether or not it's the whole of the install I intended. Version-Release number of selected component (if applicable): anaconda-11.2.0.66-1 How reproducible: Consistent within my livecd images, but we are experimenting with some wacky things in postscript. I've attached one such kickstart. Steps to Reproduce: 1.livecd-creator --config=<that_kickstart.ks> 2.qemu-img create -f qcow vm-disk.img 4G 3.qemu-kvm -no-acpi -m 384 -cdrom <that_iso.iso> -boot d -hda vm-disk.img -vnc :2 4.vncviewer (or w/e you prefer) into the vm 5.install normally 6.unhappy Actual results: copytree fails Expected results: copytree succeeds, or fails gracefully Additional info: At a glance seems to be a pretty simple Python mistake, I just don't have time to poke at it myself.
Created attachment 158892 [details] sample wacky kickstart
My bad, system won't boot from hard disk, install failed. Upgraded to high priority.
*** This bug has been marked as a duplicate of 241754 ***