Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92316 - Using keychain in multibyte environment
Summary: Using keychain in multibyte environment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 16:34 UTC by Aron Griffis (RETIRED)
Modified: 2005-05-11 18:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Griffis (RETIRED) gentoo-dev 2005-05-11 16:34:00 UTC
(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 Aron Griffis (RETIRED) gentoo-dev 2005-05-11 18:01:17 UTC
fixed in keychain-2.5.4