Package: krb5-user
Version: 1.10+dfsg~beta1-2
Tags: l10n fixed-upstream
Control: found -1 krb5/1.10+dfsg~alpha1-4

Debian changes introduced in 1.10+dfsg~alpha1-4 (#138430) cause klist
to fall back inappropriately to a European date order display when
LANG=en_US.UTF-8, causing some confusion to US users.  We have fixed
this upstream in

    http://krbdev.mit.edu/rt/Ticket/Display.html?id=7458

but probably no patch for this issue will be forthcoming on the
upstream krb5-1.10 because we did not apply the patch for #138430 to
the krb5-1.10 branch.

Briefly, krb5_timestamp_to_sfstring() (which klist uses to display
timestamps) tries a number of formats before falling back to a
hardcoded European date order format.  Setting LANG=en_US.UTF-8 causes
all of the more preferred locale-dependent timestamp formats to be too
long for the field, so the European order fallback gets used.

[ The following is from an Ubuntu 12.04 host, but the relevant code
hasn't changed as far as I can tell. ]

tlyu@sarnath:~$ klist
Ticket cache: FILE:/tmp/krb5cc_18940_LEgFcD1754
Default principal: t...@athena.mit.edu

Valid starting    Expires           Service principal
11/01/2013 14:23  12/01/2013 00:23  krbtgt/athena.mit....@athena.mit.edu
        renew until 18/01/2013 14:23
11/01/2013 14:23  12/01/2013 00:23  afs/athena.mit....@athena.mit.edu
        renew until 18/01/2013 14:23
tlyu@sarnath:~$ date
Fri Jan 11 16:28:08 EST 2013
tlyu@sarnath:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to