Description of problem: I installed RHEL 5.3 20080919.nightly on a system with a serial console and noticed firstboot failed with: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... Starting Avahi daemon... [ OK ] Starting HAL daemon: [ OK ] File "/usr/sbin/firstboot", line 103, in ? fb.runTextUI() File "/usr/share/firstboot/firstboot.py", line 81, in runTextUI import textWindow [FAILED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I then ssh'ed into the box (no $DISPLAY) and ran firstboot manually and it gave me the same error message. Version-Release number of selected component (if applicable): firstboot-1.4.27.5-1.el5.x86_64 RHEL 5.3 20080919.nightly How reproducible: Every time Steps to Reproduce: 1. Install RHEL 5.3 20080919.nightly on a system with a serial console 2. Watch boot sequence after installation finishes Actual results: firstboot spits out the above errors Expected results: firstboot runs Additional info:
It appears some files are missing from firstboot-tui. On RHEL 5.2: # rpm -ql firstboot-tui | grep textWindow /usr/share/firstboot/textWindow.py /usr/share/firstboot/textWindow.pyc /usr/share/firstboot/textWindow.pyo On RHEL 5.3 20080919.nightly: # rpm -ql firstboot-tui | grep textWindow /usr/share/firstboot/textWindow.py The .pyc and .pyo files are missing for textWindow, but they're present for constants_text, eula_strings, firstbootBackend, etc. These files should be created automatically by Python, though...
Please attach the /tmp/firstboot* file to this bug report. That contains the complete traceback. Thanks.
Ah-hah! # cd /usr/share/firstboot # python textWindow.py File "textWindow.py", line 41 (_("RHN Register"), ("/usr/bin/rhn_register"), ("")] ^ SyntaxError: invalid syntax There's a missing closing parenthesis: (_("RHN Register"), ("/usr/bin/rhn_register"), (""))] ^
Yes, the /tmp/firstboot-crash.log shows the same error: # cat /tmp/firstboot-crash.log Traceback (most recent call last): File "/usr/sbin/firstboot", line 103, in ? fb.runTextUI() File "/usr/share/firstboot/firstboot.py", line 81, in runTextUI import textWindow File "/usr/share/firstboot/textWindow.py", line 41 (_("RHN Register"), ("/usr/bin/rhn_register"), ("")] ^ SyntaxError: invalid syntax
Gah, what a stupid mistake.
This will be fixed in firstboot-1.4.27.6-1. Thanks for the bug report.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0229.html