RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2166284 - dsconf command displays 'Error: name 'log' is not defined'
Summary: dsconf command displays 'Error: name 'log' is not defined'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.9
Assignee: mreynolds
QA Contact: LDAP QA Team
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-01 12:29 UTC by Sudhir Menon
Modified: 2024-02-27 13:32 UTC (History)
6 users (show)

Fixed In Version: 389-ds-base-1.4.3.36-2.module+el8.9.0+19332+3ffa8e10
Doc Type: Bug Fix
Doc Text:
.Changing a security parameter now works correctly Previously, when you changed a security parameter by using the `dsconf __instance_name__ security set` command, the operation failed with the error: [literal,subs="+quotes"] .... Name 'log' is not defined .... With this update, the security parameter change works as expected.
Clone Of:
Environment:
Last Closed: 2023-11-14 15:32:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 5539 0 None closed regression in `lib389.cli_conf.security` 2023-07-19 14:25:34 UTC
Red Hat Issue Tracker IDMDS-2989 0 None None None 2023-05-03 15:32:52 UTC
Red Hat Issue Tracker IDMDS-3432 0 None None None 2023-07-19 16:59:51 UTC
Red Hat Issue Tracker RHELPLAN-147272 0 None None None 2023-02-01 12:30:36 UTC
Red Hat Product Errata RHBA-2023:6965 0 None None None 2023-11-14 15:33:08 UTC

Description Sudhir Menon 2023-02-01 12:29:47 UTC
Description of problem: dsconf command displays 'Error: name 'log' is not defined'


Version-Release number of selected component (if applicable):
python3-lib389-1.4.3.32-1.module+el8.8.0+17275+1a8f9618.noarch

How reproducible:
Always

Steps to Reproduce:
1. Run the command.
#dsconf slapd-IPA-TEST security set --tls-protocol-min=TLS1.0

Actual results:
Error: name 'log' is not defined
Exit code: 1

Expected results:
Command is run successfully.

Additional info:
https://pagure.io/freeipa/issue/9283

Comment 2 mreynolds 2023-02-01 12:38:07 UTC
This should already be fixed in:  389-ds-base-1.4.3.32-2.  This build should be released soon

Comment 10 errata-xmlrpc 2023-11-14 15:32:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (389-ds:1.4 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6965


Note You need to log in before you can comment on or make changes to this bug.