Hide Forgot
Description of problem: I have one instance installed: slapd-host-10-0-137-3 I'm trying to remove the instance using dsctl, but it incorrectly tries to remove slapd-3 instead of slapd-host-10-0-137-3: [root@server ~]# dsctl --remove-all Are you sure you want to remove all the Directory Server instances? Enter "Yes" to continue: Yes Removing instance: slapd-3 Instance configuration not found, no action will be taken If you want us to cleanup anyway, recreate '/etc/dirsrv/slapd-3/dse.ldif' All instances have been successfully removed Version-Release number of selected component (if applicable): 389-ds-base-1.4.1.3-1.module+el8.1.0+3259+a5bc8ad3.x86_64 How reproducible: always Steps to Reproduce: 1. Create an instance with multiple dashes in the name 2. Try to remove all instances using dsctl --remove-all 3. Actual results: dsctl fails to remove the instance. Expected results: dsctl should remove the instance. Additional info:
Still present in 389-ds-base-1.4.1.3-3.module+el8.1.0+3533+f8225121.x86_64
Build tested: 389-ds-base-1.4.2.4-4.module+el8.2.0+4930+d4051b3a.x86_64 `dsctl --remove-all` now works with multiple dashes in the instance name: [root@server-rhel8 ds]# dsctl --list slapd-host-1-2-3-4 [root@server-rhel8 ds]# dsctl --remove-all Are you sure you want to remove all the Directory Server instances? Enter "Yes" to continue: Yes Removing instance: slapd-host-1-2-3-4 All instances have been successfully removed Marking as VERIFIED.
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, 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-2020:1703