Example: DSCreate.pm.in if (($semanage_err =~ /defined in policy, cannot be deleted/) || ($semanage_err =~ /is not defined/)) {
The "defined in policy, cannot be deleted" as well as "is not defined" may not match if the system locale is not English...
For instance,
ja_JP.utf8
Warning: Port 10389 not removed from selinux policy correctly. Error: /usr/sbin/semanage: ポート tcp/10389 は定義されていません <== this is the Japanese translation of "port tcp/10389 is not defined".
A doc issue...?
Bug description: Error messages from the command line interface could be localized based upon the users' configuration. But the script expects English sentence.
Fix description: Set the C locale '$ENV{LANG} = "C"' before running the command line if the message from the command is examined in the expression.
git patch file (master) 0001-Ticket-563-DSCreate.pm-Error-messages-cannot-be-used.patch
ack
Reviewed by Mark (Thank you!!)
Pushed to master: commit 0219577
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=918716
Metadata Update from @nhosoi: - Issue assigned to nhosoi - Issue set to the milestone: 1.3.1
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: - https://github.com/389ds/389-ds-base/issues/563
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)
Login to comment on this ticket.