| Summary: | system-config-users crashes on start in Fedora 17 (Rawhide) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Murphy <frankly3d> |
| Component: | system-config-users | Assignee: | Nils Philippsen <nphilipp> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | awilliam, bcl, mgracik, nphilipp |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | system-config-users-1.2.113-1.fc17 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-14 16:00:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Frank Murphy
2012-02-06 14:41:41 UTC
This may be caused by "system-config-users"
system-config-users-1.2.112-1.fc17.noarch
~]$ system-config-users
** WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
File "/usr/share/system-config-users/system-config-users.py", line 44, in <module>
mainWindow.mainWindow()
File "/usr/share/system-config-users/mainWindow.py", line 267, in __init__
self.groupTreeView, xml, selinuxEnabled)
File "/usr/share/system-config-users/userWindow.py", line 58, in __init__
self.userWinHomeDir.set_max_length(userGroupCheck.maxpathlength)
AttributeError: 'module' object has no attribute 'maxpathlength'
Yes, since the 'advanced' button really just launches s-c-u. We don't have a criterion that covers this - the only requirement for firstboot is that, at Alpha stage, it must be able to create a user account successfully (not an *advanced* user account, note). We probably intended to have stricter firstboot criteria at Beta or Final, I'll have to check the archives. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers It seems I've been a bit overzealous when I cleaned up things. Anyway, the fix is in upstream git and builds for F-18 and F-17 now:
commit ed90569b087d82c6a298e6b32fc568dad9aa72f4
Author: Nils Philippsen <nils>
AuthorDate: Tue Feb 14 16:01:12 2012 +0100
Commit: Nils Philippsen <nils>
CommitDate: Tue Feb 14 16:01:12 2012 +0100
import constants directly, not via userGroupCheck (#787692)
In a few instances, constant values imported into but not used in
userGroupCheck were used in other modules, causing AttributeErrors when
they were accessed.
Fixed in system-config-users-1.2.113-1.fc17/.fc18. |