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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: bug#29212: closed (Re: bug#29212: XLockMore displays wrong time)
Date: Thu, 09 Nov 2017 09:07:01 +0000
[Message part 1 (text/plain, inline)]
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 29212 <at> debbugs.gnu.org.

-- 
29212: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29212
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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’.

[Message part 3 (message/rfc822, inline)]
From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: bug-guix <at> gnu.org
Subject: XLockMore displays wrong time
Date: Wed, 08 Nov 2017 15:35:52 +0100
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



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

Previous Next


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