Bug 168155 - anaconda does not look for help files in /tmp/updates
anaconda does not look for help files in /tmp/updates
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-09-12 18:17 EDT by Jeffrey Hutzelman
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-19 14:08:33 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 Jeffrey Hutzelman 2005-09-12 18:17:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
When the install media contains an updates.img, it is mounted temporarily and its contents are copied into /tmp/updates, which appears on the search paths for python modules, pixmaps, and help files.  We use this mechansim (and not the RHupdates directory, which works only for NFS installs) to fix bugs and add functionality to the installer, such as an additional UI screen which gathers site-specific configuration.

Unfortunately, while /mnt/source/RHupdates is on the search path for help files, /tmp/updates is not.  This means we are unable to override the help files that ship with anaconda (for example, to provide partitioning guidelines) or to add help files for our site-specific UI page.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Make a copy of /usr/share/anaconda/help/C/s1-help-screens-partition.html
2. Make some obvious modification
3. Build an ext2 filesystem image containing help/C/s1-help-screens-partition.html
4. Add the image to the installer media as Fedora/base/updates.img
5. Look at the help screen in the installer.

Actual Results:  The help screen is the same as that in the stock installer.

Expected Results:  The help screen should have been the locally-modified version in updates.img

Additional info:

This has actually been a problem for us at least since RH9, but we've always worked around it by creating symlinks in a kickstart %pre script:

ln -s /tmp/updates/help /help
ln -s /tmp/updates/help /text-help

We'd prefer not to have to do this in the future.

Fixing this should require changes to gui.py at line 1454 (at the top of InstallControlState.__init__) and to text.py at line 177 (in InstallInterface.helpWindow).  (line numbers are in anaconda-

In both cases, an entry for /tmp/updates should be added after the existing entry for /mnt/source/RHupdates.
Comment 1 Rahul Sundaram 2005-09-12 18:43:04 EDT

Moving to devel since this isnt FC3 specific
Comment 2 Jeremy Katz 2005-09-19 14:08:33 EDT
Fixed in CVS, although the help may be going away in FC5

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