GNU bug report logs - #29212
Setuid programs don't honor the system's timezone

Previous Next

Package: guix;

Reported by: Diego Nicola Barbato <dnbarbato <at> posteo.de>

Date: Wed, 8 Nov 2017 14:37:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #18 received at 29212-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Cc: 29212-done <at> debbugs.gnu.org
Subject: Re: bug#29212: XLockMore displays wrong time
Date: Thu, 09 Nov 2017 10:06:26 +0100
Diego Nicola Barbato <dnbarbato <at> posteo.de> skribis:

> Hello Ludo,
>
> ludo <at> gnu.org (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’.




This bug report was last modified 7 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.