Subject: bug#29212: closed (Re: bug#29212: XLockMore displays wrong time)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 09 Nov 2017 09:07:01 +0000

Your bug report

#29212: Setuid programs don't honor the system's timezone

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29212: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29212
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#29212: XLockMore displays wrong time
From: [email-masked] (Ludovic Courtès)
To: Diego Nicola Barbato <[email-masked]>
Cc: [email-masked]
Date: Thu, 09 Nov 2017 10:06:26 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Diego Nicola Barbato <[email-masked]> skribis:

> Hello Ludo,
>
> [email-masked] (Ludovic Courtès) writes:
>
>> Since GuixSD provides /etc/localtime already, we can actually unset TZ.
>> And when we do so, setuid binaries simply honor /etc/localtime and don’t
>> go searching for timezone data elsewhere, and they see the right time.
>>
>> Can you confirm that:
>>
>>   (unset TZ; xlock)
>>
>> works for you?
>
> Yes, it displays the correct time.

Awesome, pushed as 5475749960d44163a4c6c4d1d1cb1be9872b861e.

Thanks,
Ludo’.

Subject: XLockMore displays wrong time
From: Diego Nicola Barbato <[email-masked]>
To: [email-masked]
Date: Wed, 08 Nov 2017 15:35:52 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix,

XLockMore (as invoked by the command `xlock') displays the wrong time on
the lock screen.  Instead of honouring the timezone set in `config.scm'
(as do other programs e.g. the `date' command) it displays UTC.

Greetings

Diego