Bug 166563 - 'yum erase' logs month using locales
'yum erase' logs month using locales
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-23 08:07 EDT by Radek Bíba
Modified: 2014-01-21 17:52 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-22 13:37:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Radek Bíba 2005-08-23 08:07:28 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc3 Firefox/1.0.6

Description of problem:
yum logs its operations to /var/log/yum.log in format

MMM DD HH:MM:SS action: package [version]

using English names for months for updates and installations but locale settings
for removals. This may confuse some log analyzers such as logwatch.

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

How reproducible:
Always

Steps to Reproduce:
1. Select a package to remove and a language (pick up some that you won't miss
   for a while, during the testing). E.g. rsh
2. LC_ALL=ru_RU.utf8 yum remove rsh
3. tail -1 /var/log/yum.log

-- to return the package _and also_ verify that installation uses English:
4. LC_ALL=ru_RU.utf8 yum install rsh
5. tail -1 /var/log/yum.log

Actual Results:  Month name is logged in the language specified system-wide or using LC_... after
a package removal.

Expected Results:  All yum operations should use either locale settings or English for logging.

Additional info:

yum-2.2.2-0 from FC3 is affected, too.
Comment 1 Jeremy Katz 2005-09-21 15:35:56 EDT
I'm not seeing this here -- does it still occur for you with yum 2.4.0?
Comment 2 Radek Bíba 2005-09-22 02:33:30 EDT
Cool, version 2.4.0 indeed fixes this bug. However, FC3 still contains
yum-2.2.2-0 which is affected. Changing the Version field to fc3.
Comment 3 Jeremy Katz 2005-09-22 13:37:07 EDT
Okay, we're not really planning on pushing a newer version back to fc3 at this
point.

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