Bug 429902
Summary: | KeyError: 'LIBUSER_CONF' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Milan Zázrivec <mzazrivec> |
Component: | anaconda | Assignee: | Chris Lumens <clumens> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.2 | CC: | borgan |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2008-0397 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-21 15:32:42 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
Milan Zázrivec
2008-01-23 18:35:21 UTC
*** Bug 429916 has been marked as a duplicate of this bug. *** Fallout from the patch for 427388, easy to fix. diff --git a/users.py b/users.py index 5af3cb0..9cd5ef8 100644 --- a/users.py +++ b/users.py @@ -22,7 +22,7 @@ import os.path def createLuserConf(instPath, saltname='md5'): """Writes a libuser.conf for instPath.""" - if os.access(os.environ["LIBUSER_CONF"], os.R_OK): + if os.getenv("LIBUSER_CONF") and os.access(os.environ["LIBUSER_CONF"], os.R_OK): fn = os.environ["LIBUSER_CONF"] fd = open(fn, 'w') else: An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0397.html |