Red Hat Bugzilla – Bug 1018569
[RFE]oo-accept-broker fails to detect package installation if system language is different than english
Last modified: 2015-05-14 22:21:09 EDT
+++ This bug was initially created as a clone of Bug #950299 +++
Description of problem: Running oo-accept-broker won't return package not installed in French system.
How reproducible: Always
Steps to Reproduce:
1. Setup system locale info (In my case French)
2. Install openshift origin.
3. Remove mongodb
3. Run oo-accept-broker
FAIL: LOCAL: mongod service not enabled
package mongodb is not installed
The check on the script assumes english language (checks for line 368):
if echo $PKGSTATUS | grep "not installed" >/dev/null
However, in Francais, it is "le paquet $PKGNAME n'est pas installé"
the check fails.
pull request https://github.com/openshift/origin-server/pull/3872
The pull request above is merged. This should now be fixed.
Verified on oso-3 on Feodra 19(setup with oo-install)
1. Edit /usr/sbin/oo-accept-broker on line 637, added a line of additional package to check which is not on the system:
eg: check_packages abc
2. export LC_ALL=fr_FR.utf_8
3. oo-accept-broker -v
The program is able to detect the package which is not installed.
FAIL: package abc is not installed