From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
Anaconda reports unhandled exception: error log written to floppy.
File "/usr/lib/anaconda/dispatch.py", line 144, in gotoNext
File "/usr/lib/anaconda/dispatch.py", line 209, in moveStep
rc = apply(func, self.bindArgs(args))
File "/usr/lib/anaconda/upgrade.py", line 417, in upgradeFindPackages
for line in f.readlines():
IOError: [Errno 21] Is a directory
I would attach the complete log file if the buzilla form offered that option :-(
How reproducible: Always
Steps to Reproduce:
1. Boot from 7.3 installation 1 CD.
2. Choose upgrade and then customize.
3. Wait for unhandled exception report
Actual Results: Exception reported
Appears to be trying to read /etc/sysconfig/i18n
After re boot into 7.2,
$ ls -ld /etc/sysconfig/i18n/
drwxrwxr-x 2 root root 4096 Aug 14 2001 /etc/sysconfig/i18n/
$ ls -l /etc/sysconfig/i18n/
Created attachment 58525 [details]
anacoda/python dump file
Deleting /etc/sysconfig/i18n and trying again is a work around.
Do you know why the i18n entry was a directory? We have not shipped it this way
in the past.
No, I don't know what created /etc/sysconfig/i18n
But I remember hitting this same problem on at least one other machine when
upgrading in the past, perhaps from 7.2 --> 7.2. Since I deleted the directory
then, I am pretty sure that some rpm is creating it. I sometimes install RPMs
not from Redhat sites, and maybe one of them is responsible. But one of my first
actions after the problem was "rpm -qf /etc/sysconfig/i18n" and I got no hits.
Is it a big problem to add the check to anaconda?
Well to wrap every place we create/open/read/write a file would be alot of work.
TO be honest this is the first time I've seen this issue.
If I start to see more we'll reconsider addressing this issue.