Bug 54955
Summary: | Kickstart file created by installer contains a syntax error; and fails. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | ramon |
Component: | anaconda | Assignee: | Brent Fox <bfox> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-10-24 00:56:23 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: |
Description
ramon
2001-10-23 17:44:50 UTC
Did you enter the numbers by hand? No, the monitor (and the video card) was automatically detected. What model of monitor did it detect? Sorry, I did not take note of that. I think in the tree of monitor list under the folder DDC. However, tomorrow I can run any program that displays the same information that anaconda gets about the monitor. After the system is installed, try running the program '/usr/sbin/ddcprobe'. You will have to install the anaconda RPM in order to do this. It sounds as if the monitor probe returns values with the spaces in it. We can detect this in the installer and strip the spaces out. I will do that tomorrow. However, running ddcprobe from the CD in a different machine returns timings with spaces: [...] Monitor details 3: Timing ranges: horizontal = 30 - 85, vertical = 50 - 120 This is /usr/sbin/ddcprobe from the filesystem image /RedHat/base/stage2.img of the first CD. I think the problem is quite reproducible. first CD. Ah, ok. That's the problem. We will have to check for this in the future and strip the whitespace out if any exists. We need it to be in the form of "30-85" and "50-120" instead of "30 - 85" and "50 - 120". A workaround for you, though, is to remove the spaces in your kickstart file before you use it for another kickstart install. That should avoid the problem for now. I've committed a fix for this in cvs on both the anaconda-7-2-branch and on head. Closing as Rawhide. Thanks for your report. Isn't it a little irresponsible to delay it for the next release? Any automated installation that uses the automatically generated anaconda-ks.cfg will fail. And most users will be unable to know the reason: they will be simply frustrated. No, that's not so. This situation can only happen in two ways. One is that the monitor in question isn't in the MonitorsDB file, so the installer has to probe for the sync rates. In this case, the spaces will be present in the anaconda-ks.cfg file. It can also occur if the user types in values that contain whitespaces in the HSync and VSync text boxes in the monitor screen. The majority of monitors are in the monitors database and this will cause the file to be written correctly. The entries in the database don't contain the whitespaces, but the return values for ddcprobe do. So if the monitor is in the database, the problem doesn't occur. Do you really think this issue is big enough to release an errata for? I could put together an updates disk and make it available on the web if you'd like. Yes, I think that would be great to release an errata. Take into account that many new cheap computers come with monitors that are too new to be in any database. (By the way, the machine where this problem was detected is a IBM computer with an IBM monitor. Where should I send the data of this monitor so that it is included in the monitor database?). An updates disk is available at http://people.redhat.com/bfox/update-for-bug-54955.img All you need to do is dd that file to a floppy and then boot the Red Hat installer with 'linux updates'. Then insert the updates floppy when prompted. Please let me know if this works for you. Thanks, I will test it. |