Bug 18092 - Anaconda generates exception on symlinks
Anaconda generates exception on symlinks
Status: CLOSED DUPLICATE of bug 13071
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Michael Fulbright
: 22302 55308 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2000-10-02 10:24 EDT by CaptBrando
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-04 14:23:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description CaptBrando 2000-10-02 10:24:27 EDT
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 
    rc = apply (step[1](), (dir,) + step[2])
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 279, in 
    todo.upgradeFindPackages (root)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 928, in 
    self.fstab.mountFilesystems (self.instPath)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/fstab.py", line 708, in 
    iutil.mkdirChain(instPath + mntpoint)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iutil.py", line 193, in 
    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:

Comment 1 Michael Fulbright 2000-10-04 14:23:06 EDT
Related to bug 5034.
Comment 2 Michael Fulbright 2000-10-06 12:25:38 EDT

*** This bug has been marked as a duplicate of 13071 ***
Comment 3 Brent Fox 2001-04-14 16:23:53 EDT
*** Bug 22302 has been marked as a duplicate of this bug. ***
Comment 4 Brent Fox 2001-10-29 11:20:20 EST
*** Bug 55308 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.