<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>92316</bug_id>
          
          <creation_ts>2005-05-11 16:34 0000</creation_ts>
          <short_desc>Using keychain in multibyte environment</short_desc>
          <delta_ts>2005-05-11 18:01:17 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Hosted Projects</product>
          <component>Keychain</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>agriffis@gentoo.org</reporter>
          <assigned_to>agriffis@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2005-05-11 16:34:00 0000</bug_when>
            <thetext>(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&apos;t UTF-8, and keychain
works as expected there.

There is more detail in the GNU Awk User&apos;s Guide: 2.9 Where You Are
Makes A Difference</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2005-05-11 18:01:17 0000</bug_when>
            <thetext>fixed in keychain-2.5.4</thetext>
          </long_desc>
      
    </bug>

</bugzilla>