From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.3.1 (X11; Linux i686; U;) Gecko/20021204
Description of problem:
There is a line:
NETDEVICES=`service network status |grep -A1 "Currently active devices" |tail -n1`
After than $NETDEVICES is used to reconfigure interfaces
This line does not work for non-english locales - because "Currently active
devices" is localized in /etc/rc.d/init.d/network.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Put LANG=ru_RU.UTF-8 into /etc/sysconfig/i18n, suspend and resume the computer.
Actual Results: Interface lo is down
Expected Results: Interface lo should be up
This is fixed in 3.0.2-16.
In RH9 - still an issue. Even all these LC_ALL and LANG settings do not help.
The reason is that apmscript calls /etc/init.d/network. This bash script creates
new bash instance which calls /etc/bashrc which calls all these /etc/profile.d
scripts (incluging lang.sh) so ...
The only way for me was to modify /etc/init.d/network (remove '$' character
before status messages. Bad but it works...
I think the problem is that /etc/init.d/network calls /etc/init.d/functions,
which in turn calls /etc/sysconfig/i18n, giving you nice localized status
But /etc/sysconfig/i18n will only be called if $NOLOCALE is not set. So the lines
in the script /etc/sysconfig/apm-scripts/apmscript right after the line
did the trick for me. I didn't have to modify /etc/init.d/network.
Makes sense, will be in 3.0.2-19.