Bug 83526 - up2date error
up2date error
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
7.2
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Bret McMillan
Fanny Augustin
:
Depends On:
Blocks: 120092
  Show dependency treegraph
 
Reported: 2003-02-05 04:42 EST by Ole Skartveit
Modified: 2007-03-27 00:00 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-22 11:01:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ole Skartveit 2003-02-05 04:42:42 EST
Performed an "up2date" operation om my Compaq Proliant ML530/RedHat AS 2.1. 
The procedure was running smoothly until the end, when the following 
errormessage showed up:

# up2date
warning: /etc/httpd/conf/httpd.conf created 
as /etc/httpd/conf/httpd.conf.rpmnew
warning: /etc/ldap.conf created as /etc/ldap.conf.rpmnew
warning: /etc/php.ini created as /etc/php.ini.rpmnew
Traceback (innermost last):
  File "/usr/share/rhn/up2date_client/gui.py", line 842, in doInstallation
    up2date.installBootLoader(kernelsToInstall)
  File "/usr/share/rhn/up2date_client/up2date.py", line 2357, in 
installBootLoader
    __install_lilo(kernelList)
  File "/usr/share/rhn/up2date_client/up2date.py", line 2376, in __install_lilo
    ret = lilocfg.installNewImages(kernelList,test=0)
  File "/usr/share/rhn/up2date_client/lilocfg.py", line 272, in 
installNewImages    (default, tmptype, 
default_image,image_path,other,defaultIsOther) = findDefault(config,imagelist)
  File "/usr/share/rhn/up2date_client/lilocfg.py", line 213, in findDefault
    (imagetype, default_image,image_path,other) = config.getImage(default)
  File "/usr/share/rhn/up2date_client/lilo.py", line 140, in getImage
    raise IndexError, "unknown image %s" % (label)
IndexError: unknown image cpq-2.4.9-e.          # (previously, default=linux)
Comment 1 Adrian Likins 2003-02-05 12:00:21 EST
would it be possible to get a copy of the lilo.conf file?
Comment 2 Ole Skartveit 2003-02-10 03:38:44 EST
lilo.conf:

prompt
timeout=50
default=cpq-2.4.9-e.            # (previously, default=linux)
boot=/dev/cciss/c0d0p1
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.9-e.3smp
        label=linux
        initrd=/boot/initrd-2.4.9-e.3smp.img
        read-only
        root=/dev/cciss/c0d0p5

image=/boot/vmlinuz-2.4.9-e.3
        label=linux-up
        initrd=/boot/initrd-2.4.9-e.3.img
        read-only
        root=/dev/cciss/c0d0p5

# The following entry was added by Compaq HBA install script
image=/boot/vmlinuz-2.4.9-e.3smp
label=cpq-2.4.9-e.
initrd=/boot/cpq-initrd-2.4.9-e.3smp.img
read-only
root=/dev/cciss/c0d0p5
Comment 3 Adrian Likins 2003-08-06 19:07:35 EDT
Hmm, thats a strange looking lilo.conf. Looks like
the parser doesnt find the stanza for the label=cpq-2.4.9-e.
bit. 

I'll take a look. 
Comment 4 John Thacker 2006-04-22 11:01:05 EDT
up2date is no longer shipped with Fedora Core; it's functionality 
has been replaced by pup, found in the pirut package.  The only fixes 
likely to be made to up2date in RedHat Linux and earlier Fedora Core 
versions are security fixes by Fedora Legacy.  This does not seem to 
be a security bug, so I'm closing it.

If the problem is appropriate to RHEL and occurs to a user there, it 
can be filed as such.

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