Bug 521133
Summary: | firstboot miss the item "Add User" on rawhide | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Niels Haase <arxs> | ||||||
Component: | system-config-users | Assignee: | Nils Philippsen <nphilipp> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | jlaska, nphilipp | ||||||
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: | 2009-09-04 13:11:29 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 473303 | ||||||||
Attachments: |
|
This is a bug in system-config-users: $ ipython In [2]: sys.path.append("/usr/share/system-config-users") In [3]: import userGroupCheck ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (71, 0)) --------------------------------------------------------------------------- NameError Traceback (most recent call last) /home/clumens/src/firstboot/<ipython console> in <module>() /usr/share/system-config-users/userGroupCheck.pyc in <module>() 23 import string 24 import libuser ---> 25 import messageDialog 26 import gtk 27 /usr/share/system-config-users/messageDialog.pyc in <module>() 24 25 import gtk ---> 26 import mainWindow 27 28 def show_message_dialog(text): /usr/share/system-config-users/mainWindow.pyc in <module>() 96 97 ---> 98 gtk.glade.bindtextdomain(domain) 99 if os.access("system-config-users.glade", os.F_OK): 100 xml = gtk.glade.XML ("./system-config-users.glade", domain=domain) NameError: name 'domain' is not defined Created attachment 359732 [details]
loader.patch
The attached patch makes it so the failure to load the 'create_user' module is displayed to logging.error(). This yields the following output:
firstboot DEBUG: X is already running, not using any frontend
firstboot DEBUG: Using GTK interface
firstboot DEBUG: Successfully loaded module welcome, adding
firstboot DEBUG: Successfully loaded module smolt, adding
firstboot DEBUG: Successfully loaded module eula, adding
firstboot ERROR: Generic Error loading module create_user:
name 'domain' is not defined
firstboot DEBUG: Successfully loaded module date, adding
firstboot INFO: skipping module keyboard because it should not run in this mode
Loading /lib/kbd/keymaps/i386/qwerty/us.map.gz
firstboot WARNING: Unable to load pixmap /usr/share/firstboot/themes/default//system-config-date.png for module Date and Time.
Seems like the domain variable is uninitialized maybe? # rpm -ql system-config-users | xargs grep "domain" Binary file /usr/bin/system-config-users matches /usr/share/system-config-users/mainWindow.py:gtk.glade.bindtextdomain(domain) /usr/share/system-config-users/mainWindow.py: xml = gtk.glade.XML ("./system-config-users.glade", domain=domain) /usr/share/system-config-users/mainWindow.py: xml = gtk.glade.XML ("/usr/share/system-config-users/system-config-users.glade", domain=domain) please try system-config-users-1.2.90 Thanks Nils ... that solved the problem for me. I now see user configuration on the firstboot menu. |
Created attachment 359729 [details] strace output from firstboot Description of problem: After install of rawhide (20090901) after the first reboot, firstboot show up but has only 3 steps to configure. Welcome, Licence and Smolt, but "Add User" is missing. Also boot with selinux=0 show the same error. There are now error messages on the tty related to the problem. Version-Release number of selected component (if applicable): firstboot-1.108-1.fc12.x86_64 How reproducible: 100% Steps to Reproduce: 1. install rawhide 2. start firstboot 3. see missing add user Actual results: Add User is missing Expected results: Add User should appear Additional info: "firstboot -d" output firstboot DEBUG: X is already running, not using any frontend firstboot DEBUG: Using GTK interface firstboot DEBUG: Successfully loaded module smolt, adding firstboot DEBUG: Successfully loaded module eula, adding firstboot INFO: skipping module keyboard because it should not run in this mode firstboot ERROR: Module language does not contain a class named moduleClass; skipping. firstboot DEBUG: Successfully loaded module welcome, adding Loading /lib/kbd/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz