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 2070575 - RFE - Allow to rebuild the compat tree.
Summary: RFE - Allow to rebuild the compat tree.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: slapi-nis
Version: 8.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: thierry bordaz
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 2116275
TreeView+ depends on / blocked
 
Reported: 2022-03-31 13:14 UTC by Têko Mihinto
Modified: 2023-01-20 10:47 UTC (History)
13 users (show)

Fixed In Version: slapi-nis-0.60.0-1.module+el8.7.0+16405+581a7c1e
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 09:35:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-8122 0 None None None 2022-03-31 13:18:10 UTC
Red Hat Issue Tracker RHELPLAN-117521 0 None None None 2022-03-31 13:18:14 UTC
Red Hat Product Errata RHBA-2022:7540 0 None None None 2022-11-08 09:36:10 UTC

Description Têko Mihinto 2022-03-31 13:14:41 UTC
Description of problem:
For different reasons, the compat tree might get corrupted and some entries would be missing.
Customers would like to have the possibility to rebuild the whole compat tree on demand.

Version-Release number of selected component (if applicable):

How reproducible:
Seen in customer cases every now and then.

Steps to Reproduce:

Actual results:
Need to restart the LDAP server to rebuilt the compat tree.

Expected results:
Allow to rebuild the compat tree without having to restart the LDAP server.

Additional info:

Comment 21 anuja 2022-08-23 14:02:21 UTC
Verified Tested Using:

[root@master ~]# rpm -qa ipa-server slapi-nis
slapi-nis-0.60.0-1.module+el8.7.0+16405+581a7c1e.x86_64
ipa-server-4.9.10-6.module+el8.7.0+16405+581a7c1e.x86_64
[root@master ~]# ipa hostgroup-add group_cachenew
--------------------------------
Added hostgroup "group_cachenew"
--------------------------------
  Host-group: group_cachenew
[root@master ~]# ldapsearch -LLL -D "cn=directory manager" -w Secret123 -b "cn=compat,dc=ipa,dc=test" "(&(objectClass=nisNetgroup)(cn=group_cachenew))" dn | grep "group_cachenew"
dn: cn=group_cachenew,cn=ng,cn=compat,dc=ipa,dc=test
[root@master ~]# ipa hostgroup-del group_cachenew
----------------------------------
Deleted hostgroup "group_cachenew"
----------------------------------
[root@master ~]# ldapsearch -LLL -D "cn=directory manager" -w Secret123 -b "cn=compat,dc=ipa,dc=test" "(&(objectClass=nisNetgroup)(cn=group_cachenew))" dn | grep "group_cachenew"
dn: cn=group_cachenew,cn=ng,cn=compat,dc=ipa,dc=test
[root@master ~]# vi /tmp/foo1
[root@master ~]# ldapmodify -D "cn=directory manager" -w Secret123 -a -f /tmp/foo1
adding new entry "cn=rebuild 1,cn=Schema compatibility refresh task,cn=tasks,cn=config"

[root@master ~]# ldapsearch -LLL -D "cn=directory manager" -w Secret123 -b "cn=compat,dc=ipa,dc=test" "(&(objectClass=nisNetgroup)(cn=group_cachenew))" dn | grep "group_cachenew"
[root@master ~]# echo $?
1
[root@master ~]#

Comment 24 anuja 2022-08-29 05:21:39 UTC
Verified using nightly build:

[root@master ~]# rpm -qa ipa-server slapi-nis
slapi-nis-0.60.0-1.module+el8.7.0+16405+581a7c1e.x86_64
ipa-server-4.9.10-6.module+el8.7.0+16405+581a7c1e.x86_64
[root@master ~]# ipa hostgroup-add group_cache87_nightly
---------------------------------------
Added hostgroup "group_cache87_nightly"
---------------------------------------
  Host-group: group_cache87_nightly
[root@master ~]# ldapsearch -LLL -D "cn=directory manager" -w Secret123 -b "cn=compat,dc=ipa,dc=test" "(&(objectClass=nisNetgroup)(cn=group_cachenew))" dn | grep "group_cache87_nightly"
[root@master ~]# ldapsearch -LLL -D "cn=directory manager" -w Secret123 -b "cn=compat,dc=ipa,dc=test" "(&(objectClass=nisNetgroup)(cn=group_cache87_nightly))" dn | grep "group_cache87_nightly"
dn: cn=group_cache87_nightly,cn=ng,cn=compat,dc=ipa,dc=test
[root@master ~]# ipa hostgroup-del group_cache87_nightly
-----------------------------------------
Deleted hostgroup "group_cache87_nightly"
-----------------------------------------
[root@master ~]# ldapsearch -LLL -D "cn=directory manager" -w Secret123 -b "cn=compat,dc=ipa,dc=test" "(&(objectClass=nisNetgroup)(cn=group_cache87_nightly))" dn | grep "group_cache87_nightly"
dn: cn=group_cache87_nightly,cn=ng,cn=compat,dc=ipa,dc=test
[root@master ~]# vi /tmp/rebuild
[root@master ~]# ldapmodify -D "cn=directory manager" -w Secret123 -a -f /tmp/rebuild 
adding new entry "cn=rebuild 1,cn=Schema compatibility refresh task,cn=tasks,cn=config"

[root@master ~]# ldapsearch -LLL -D "cn=directory manager" -w Secret123 -b "cn=compat,dc=ipa,dc=test" "(&(objectClass=nisNetgroup)(cn=group_cache87_nightly))" dn | grep "group_cache87_nightly"
[root@master ~]# echo $?
1
[root@master ~]#

Comment 26 errata-xmlrpc 2022-11-08 09:35:50 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 (idm:client and idm:DL1 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-2022:7540


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