Bug 706074 - Traceback when running firstboot over "ssh -X"
Summary: Traceback when running firstboot over "ssh -X"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: firstboot
Version: 5.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Martin Gracik
QA Contact: Release Test Team
URL:
Whiteboard:
: 653442 (view as bug list)
Depends On:
Blocks: 726828
TreeView+ depends on / blocked
 
Reported: 2011-05-19 12:38 UTC by Miroslav Suchý
Modified: 2013-07-04 12:55 UTC (History)
3 users (show)

Fixed In Version: firstboot-1.4.27.9-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 06:40:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0278 0 normal SHIPPED_LIVE firstboot bug fix update 2012-02-20 15:06:07 UTC

Description Miroslav Suchý 2011-05-19 12:38:47 UTC
Description of problem:
I kickstarted RHEL5.7-Server-20110518.0 and run firstboot there and got traceback.

Version-Release number of selected component (if applicable):
# rpm -qf /usr/sbin/firstboot
firstboot-tui-1.4.27.8-1.el5


How reproducible:
done once, but seem to be deterministic

Steps to Reproduce:
1. kickstart RHEL-5.7 (I done it in Beaker)
2. ssh -X there
3. in /etc/sysconfig/firstboot flip RUN_FIRSTBOOT=NO to YES
4. run /usr/sbin/firstboot
  
Actual results:
# firstboot 
  File "/usr/sbin/firstboot", line 100, in ?
    from firstbootWindow import firstbootWindow

Expected results:
No Traceback. With 
a) and firstboot installed (probably not good option)
b) or Error messages saying that "firstboot-tui could not be run when DISPLAY is set and I should install firstboot package".

Additional info:
Installing firstboot package, which provides /usr/share/firstboot/firstbootWindow.py fixes this issue.

Comment 1 RHEL Program Management 2011-08-05 12:30:41 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Martin Gracik 2011-08-29 15:07:29 UTC
Fixed in firstboot-1.4.27.9-1

Comment 4 Alexander Todorov 2011-12-01 16:20:43 UTC
VERIFIED in firstboot-tui-1.4.27.9-1.el5

Comment 5 Alexander Todorov 2011-12-05 15:17:10 UTC
*** Bug 653442 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2012-02-21 06:40:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0278.html


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