Bug 158567 - firstboot fails in boot module, self.myVbox not set
firstboot fails in boot module, self.myVbox not set
Status: CLOSED DUPLICATE of bug 178920
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rhpl (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Depends On:
  Show dependency treegraph
Reported: 2005-05-23 12:53 EDT by Alexander Boström
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-27 15:29:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Stratus kickstart file (for customers) (4.87 KB, text/plain)
2005-10-26 15:17 EDT, Kimball Murray
no flags Details

  None (edit)
Description Alexander Boström 2005-05-23 12:53:01 EDT
Description of problem:

Firstboot, when run automatically after kickstart, fails as soon as it's
started, with the following message:

Traceback (most recent call last):
  File "/usr/share/firstboot/firstbootWindow.py", line 502, in loadModules
    vbox, pix, title = module.launch()
line 177, in launch
    return FirstbootGuiWindow.launch(self)
  File "/usr/lib/python2.3/site-packages/rhpl/firstboot_gui_window.py", line
106, in launch
    internalVBox.pack_start(self.myVbox, gtk.TRUE)
AttributeError: BootWindow instance has no attribute 'myVbox'

After clicking OK, firstboot continues.

How reproducible:
If firstboot is killed and restarted, then the error is repeated, but I'm not
sure it happens on every install.

Steps to Reproduce:
1. boot from boot.iso, start kickstart
2. run install, reboot, wait for firstboot

Additional info:

Adding --debug to firstboot works around it. (Of course, then firstboot doesn't
do much). (See boot_gui.py:176)

I suppose the kickstart options are relevant. The ks.cfg is available if required.
Comment 1 Harald Hoyer 2005-07-07 07:27:24 EDT
# rpm -qf /usr/lib/python2.3/site-packages/rhpl/firstboot_gui_window.py

please report the rhpl version number
Comment 2 Kimball Murray 2005-10-26 15:17:13 EDT
Created attachment 120426 [details]
Stratus kickstart file (for customers)

test case
Comment 3 Kimball Murray 2005-10-26 15:19:38 EDT
output from rpm version command on Stratus system running RHEL4-U2-GA is the

Comment 4 Chris Lumens 2006-02-27 15:29:57 EST
Marking as a duplicate of a later bug because that one's already been added to
the proposed list.

*** This bug has been marked as a duplicate of 178920 ***
Comment 5 Kimball Murray 2006-08-28 12:46:30 EDT
A Stratus customer is hitting this bug at install time.  From Charlotte
Richardson (Stratus):

The symptom is that the RedHat firstboot window boot_gui.py
blows up (and doesn't configure the grub.conf file as a result) because
self.myVbox does not exist when the launch function in the python script
calls FirstbootGuiWindow unless doDebug is set. This seems to occur
because self.setupScreen, which creates the myVbox attribute along with many
others, only runs in the launch function if doDebug is set. You can see in the
stand_alone function it runs in either case before FirstbootGuiWindow

It appears that this is the problem: the launch function should run
setupScreen whether or not doDebug is set.

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