Bug 92316 - Using keychain in multibyte environment
Bug#: 92316 Product:  Gentoo Hosted Projects Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: agriffis@gentoo.org Reported By: agriffis@gentoo.org
Component: Keychain
URL: 
Summary: Using keychain in multibyte environment
Keywords:  
Status Whiteboard: 
Opened: 2005-05-11 16:34 0000
Description:   Opened: 2005-05-11 16:34 0000
(from email from Peter Mander)

May I suggest adding these two lines to the beginning of the keychain
script?

LANG=C LC_ALL=C
export LANG LC_ALL

The reason is gawk fails to match regular expressions in a multibyte
environment. SuSE 9.1 and SuSE 9.2 both are LANG=en_GB.UTF-8 and
keychain fails to find existing ssh-agent processes, and any new login
needs to have the passphrase entered again, leading to a needless
proliferation of ssh-agent processes. SuSE 9.0 isn't UTF-8, and keychain
works as expected there.

There is more detail in the GNU Awk User's Guide: 2.9 Where You Are
Makes A Difference

------- Comment #1 From Aron Griffis (RETIRED) 2005-05-11 18:01:17 0000 -------
fixed in keychain-2.5.4