Bug 23860 - anaconda crashes trying to open upgrade.log
Summary: anaconda crashes trying to open upgrade.log
Keywords:
Status: CLOSED DUPLICATE of bug 13071
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Fulbright
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-12 03:35 UTC by Need Real Name
Modified: 2007-04-18 16:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-01-13 23:15:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2001-01-12 03:35:54 UTC
I was attempting to upgrade from 6.2 to 7.0.1 (which I have on CD).

Traceback (innermost last):
 File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", line 20, in run
  rc = self.todo.doInstall ()
 File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1526, in doInstall
  self.instLog = open(self.instLogName, "w+")
IOError: [Errno 2] No such file or directory: '/mnt/sysimage/tmp/upgrade.log'

Sorry, I don't know how to print the stack frame in Pdb.
If you tell me how, I can re-run the upgrade and give you the relevant variables.

My system is a bit of a mess -- it was not cleanly upgraded from 6.1 to 6.2 --
so this may be just my problem.

Thanks,
John

Comment 1 Michael Fulbright 2001-01-12 15:22:43 UTC
Is /tmp a symlink on your system?

Comment 2 Need Real Name 2001-01-13 23:15:32 UTC
Yes.  The relevant links (gotten from ls -ls) are as follows:

/tmp -> /var/tmp/
/usr/tmp -> ../var/tmp
/var/tmp (real directory)

I don't remember whether the 6.1 install had an option to do
this or whether I hacked it myself.  If the 6.1 install had
the option then I would have used it.

By the way, there is a further irregularity in the above list
that is not a typo:  the /tmp link does indeed have a trailing slash
on it and the /usr/tmp link really does not have the trailing slash.
(Although I can't guarantee that the /usr/tmp link did not
originally have a trailing slash, because I manually changed
that when I was trying to work around the bug).

Thanks a lot for looking at this so quickly!
John

Comment 3 Need Real Name 2001-01-17 15:51:55 UTC
I removed the /tmp soft-link and the upgrade worked fine.

When I searched the bug database before reporting this bug,
I forgot to include resolved bugs.

I apologize for to wasting your time.

Thanks again,
John


*** This bug has been marked as a duplicate of 13071 ***


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