Bug 65493
| Summary: | Installer crash "IOError: [Errno 21] Is a directory" on upgrade 7.2 -> 7.3 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | adrian.lawrence | ||||
| Component: | anaconda | Assignee: | Michael Fulbright <msf> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Brock Organ <borgan> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.3 | CC: | adrian.lawrence | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2002-06-05 17:21:26 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: |
|
||||||
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. |
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 self.moveStep() 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 Additional info: 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/ total 0