Bug 490443

Summary: finger munges UTF-8 GECOS information
Product: [Fedora] Fedora Reporter: Tomasz Kepczynski <tomek>
Component: fingerAssignee: Petr Lautrbach <plautrba>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: rvokal, tao
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: finger-0.17-41.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 174352 Environment:
Last Closed: 2010-07-23 02:45:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixed bsd-finger-wide-char-support5.patch none

Description Tomasz Kepczynski 2009-03-16 13:19:35 UTC
+++ This bug was initially created as a clone of Bug #174352 +++

This problem exists in F10 with finger-0.17-36.fc9.x86_64. There is one difference: the original bug report seemed to complain about invocation for specific user:
# finger <username>
and this form seems to work fine for me.
Invocation for a list of logged in users:
# finger
Shows a list where GECOS information is displayed incorrectly.
See below:

gklab-63-001:~> finger
Login     Name                  Tty      Idle  Login Time   Office     Office Phone
tkepczyn  Tomasz Kepczynski    *:0             Mar 16 08:23  11073917
tkepczyn  Tomasz Kepczynski     pts/0    5:53  Mar 16 08:23 (:0)
tkepczyn  Tomasz Kepczynski    *pts/1          Mar 16 08:23 (:0.0)
tkepczyn  Tomasz Kepczynski    *pts/2       3  Mar 16 08:24 (:0.0)
tkepczyn  Tomasz Kepczynski    *pts/3       5  Mar 16 08:24 (:0.0)
tomek     Tomasz K�M-^Ypczy�M-^Dski   tty2           Mar 16 14:16
gklab-63-001:~> finger tomek
Login: tomek                            Name: Tomasz Kępczyński
Directory: /home/tomek                  Shell: /bin/bash
On since pon mar 16 14:16 (CET) on tty2   12 seconds idle
No mail.
No Plan.

I can also see that problem on CENTOS 5.2 which probably means RHEL 5.2 is affected.

Comment 1 Bug Zapper 2009-11-18 11:21:16 UTC
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Tomasz Kepczynski 2009-11-20 05:47:05 UTC
This bug still exists in Fedora 12.

Comment 3 Fedora Admin XMLRPC Client 2010-06-18 10:44:18 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Petr Lautrbach 2010-07-12 11:21:46 UTC
Created attachment 431142 [details]
fixed bsd-finger-wide-char-support5.patch

There was missing initialization of has_locale variable for list of logged users

Comment 5 Fedora Update System 2010-07-12 11:59:19 UTC
finger-0.17-41.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/finger-0.17-41.fc13

Comment 6 Fedora Update System 2010-07-12 11:59:25 UTC
finger-0.17-41.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/finger-0.17-41.fc12

Comment 7 Fedora Update System 2010-07-13 07:35:13 UTC
finger-0.17-41.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update finger'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/finger-0.17-41.fc13

Comment 8 Fedora Update System 2010-07-13 07:46:40 UTC
finger-0.17-41.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update finger'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/finger-0.17-41.fc12

Comment 9 Tomasz Kepczynski 2010-07-13 16:25:36 UTC
Seems to work.

Comment 10 Fedora Update System 2010-07-23 02:45:20 UTC
finger-0.17-41.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.