Bug 473460
Summary: | firstboot aborts when trying to set a dictionary-based password | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eduardo Habkost <ehabkost> |
Component: | system-config-users | Assignee: | Nils Philippsen <nphilipp> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 11 | CC: | 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-03 13:10:55 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: |
Description
Eduardo Habkost
2008-11-28 16:18:58 UTC
Looks like cracklib has changed its error reporting a bit and system-config-users needs to be made aware of it. The following patch should take care of it. diff -ru system-config-users-1.2.81/src/userGroupCheck.py system-config-users-1.2.81.NEW/src/userGroupCheck.py --- system-config-users-1.2.81/src/userGroupCheck.py 2008-10-30 12:39:20.000000000 -0400 +++ system-config-users-1.2.81.NEW/src/userGroupCheck.py 2008-12-02 10:16:27.000000000 -0500 @@ -142,7 +142,11 @@ if not have_cracklib: return True - clerror = cracklib.FascistCheck (str) + try: + clerror = cracklib.FascistCheck (str) + except ValueError, e: + clerror = e.msg + if clerror: # translate error message clerror = _(clerror) Thanks for the patch, applied in the upstream repo. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping fixed since 1.2.83 |