Description of problem:
It is possible to delete the instance 'slapd-standalone' with remove-ds.pl
tool, while specifying wrong prefix 'anyprefix-standalone'.
Steps to Reproduce:
1. Install an instance with a name 'standalone'
2. Run remove-ds.pl tool to remove it, but specify a wrong prefix instead of
$ remove-ds.pl -i 'anyprefix-standalone'
Instance anyprefix-standalone removed.
The following errors occurred during removal:
Error: could not find directory server configuration directory
'anyprefix-standalone'. Error: No such file or directory
Error: could not remove directory server standalone
/usr/sbin/remove-ds.pl contains the next line (50):
my ($slapd, $inst) = split(/-/, $instname, 2);
So it doesn't check that before '-' is 'slapd' prefix and then it just splits
git patch file (master)
Reviewed by Mark (Thank you!!)
Pushed to master:
0e4a9a6..17dc978 master -> master
Metadata Update from @nhosoi:
- Issue assigned to nhosoi
- Issue set to the milestone: 220.127.116.11
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here:
If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)
to comment on this ticket.