Bug 18092
| Summary: | Anaconda generates exception on symlinks | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | CaptBrando <brw> |
| Component: | anaconda | Assignee: | Michael Fulbright <msf> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-10-04 18:23:08 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: | |||
*** This bug has been marked as a duplicate of 13071 *** *** Bug 22302 has been marked as a duplicate of this bug. *** |
I submitted this bug before, but now have more information. Anaconda will generate an exception when looking for packages to upgrade when the following conditions are true. /home is a symlink to /usr/home. the FSTab reads as follows. /dev/hdc1 /usr ext2 defaults,usrquota 1 1 /dev/hda3 /home/ftp/pub/rh ext2 defaults 1 1 Anaconda yaks because the /dev/hda3 device is not mounted to /usr/home/ftp/pub/rh. Once that is changed, anaconda works flawlessly. IMHO, anaconda should not barf on an incorrectly configured, yet functional, /etc/fstab. Let me know if you have any other questions! Traceback (innermost last): File "/usr/bin/anaconda", line 438, in ? intf.run(todo, test = test) File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 1028, in run rc = apply (step[1](), (dir,) + step[2]) File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 279, in __call__ todo.upgradeFindPackages (root) File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 928, in upgradeFindPackages self.fstab.mountFilesystems (self.instPath) File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/fstab.py", line 708, in mountFilesystems iutil.mkdirChain(instPath + mntpoint) File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iutil.py", line 193, in mkdirChain os.mkdir(path, 0755) OSError: [Errno 17] File exists: '/mnt/sysimage/home' Local variables in innermost frame: which: 4 dir: /mnt/sysimage/home/ftp/pub/rh elements: ['', 'mnt', 'sysimage', 'home', 'ftp', 'pub', 'rh'] path: /mnt/sysimage/home ToDo object: (itodo ToDo p1 (dp2 S'method' p3 (iimage CdromInstallMethod p4 (dp5 S'progressWindow' p6 <failed>