Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 137777 - printconf-backend in non English locale
printconf-backend in non English locale
Status: CLOSED DUPLICATE of bug 131563
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: redhat-config-printer (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2004-11-01 03:06 EST by Andrew Martynov
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:06:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrew Martynov 2004-11-01 03:06:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7)

Description of problem:
If system configured for Russian language as system language in
/etc/sysconfig/i18n then /usr/sbin/printconf-backend fail with python
traceback and cups service also could not start correctly.

I found that it happens in function "which_spooler" of module
"cups_impour.py". Binary file "alternatives" display localized output
messages while looks for English message.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install RHEL 3 ES
2. Setup system language "Russian", for example by editing file
3. reboot system or execute in bash 'export LANG=ru_RU.UTF-8'
4. execute /usr/sbin/printconf-backend
5. restart cups : service cups restart

Actual Results:  /usr/sbin/printconf-backend does not produce lines
Cups is restarted correctly

Expected Results:  /usr/sbin/printconf-backend is failed with python
traceback and message about unbound variable 'which' in module

Additional info:

cups_import.py module execute /usr/sbin/alternatives in current locate
but wait output message in English.
Comment 1 Andrew Martynov 2004-11-01 04:21:48 EST
I found temporary solution to return cups back to English locale.

Add in the beginning of /etc/init.d/cups file two lines:

So printconf-backend executed in C locale and work correctly.
Comment 2 Tim Waugh 2004-11-01 04:24:57 EST

*** This bug has been marked as a duplicate of 131563 ***
Comment 3 Red Hat Bugzilla 2006-02-21 14:06:44 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.