From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030530 Galeon/1.3.5 Description of problem: The apm resume script depends on `init.d/network status` to print english message. It tries to workaround this by specifying LC_ALL=C as part of the command-line (see: /etc/sysconfig/apm-scripts/apmscript, line 115), but that value is ignored as /etc/init.d/network sources /etc/init.d/functions before execution and thus overrides the specified locale with the default locale. The resulting messages aren't parsed correctly by apmscript and so it doesn't know which netdevices to restart upon resume. Version-Release number of selected component (if applicable): initscripts-7.14-1 How reproducible: Always Steps to Reproduce: 1. edit /etc/sysconfig/i18n and set LANG to non-english, non-asian value (e.g. de_DE.UTF-8) 2. edit /etc/sysconfig/apmd and set NET_RESTART to yes 3. suspend computer 4. resume computer: network will be down 5. (alternatively to 2./3./4.) run "LC_ALL=C /etc/init.d/network/status": Messages will be non-english Actual Results: network is down Expected Results: network should have been restarted Additional info: this is easily fixed by modifying /etc/sysconfig/apm-scripts/apmscript a little, see attachment
Created attachment 92811 [details] proposed patch to /etc/sysconfig/apm-scripts/apmscript this changes the command in line 115 so that any (default) locale will be ignored in /etc/init.d/functions This way, Messages aill be in english and thus readable, enabling net_restart upon resume
This should be already fixed in rawhide apmd.