Bug 182395
| Summary: | Error in rhpl->Conf.py when updating nameservers in resolv.conf | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Andrew Johnson <andrew.johnson> |
| Component: | rhpl | Assignee: | Chris Lumens <clumens> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | RHBA-2006-0678 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-09-27 06:37:18 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: | 201655 | ||
Committed to Rawhide for testing. 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-2006-0678.html |
Description of problem: Error is in /usr/lib/python2.3/site-packages/rhpl/Conf.py We have a script in Python that calls :- def _editER(screen): "Create, edit and destroy a ConfEResolv object" CER = rhpl.Conf.ConfEResolv() ns = CER['nameservers'] . . . CER.write When it does this, we get a traceback to the above Conf.py stating at line 709 that .output is not a valid property. The command being called at that time is :- command.getstatus.output it should be :- command.getstatusoutput Version-Release number of selected component (if applicable): In RHEL-ES4 base install -> RHEL-ES4 Patch 2 rhpl-0.148.2-1.i386.rpm -> rhpl-0.148.3-1.i386.rpm