[rudder-users] Time zone setting isn't global

Janos Mattyasovszky mail at matya.eu
Wed Mar 28 21:57:45 CEST 2018


Sounds like the file is not readable for non root users? Maybe the umask and copy file promise makes the resulting file 600?

Janos

Sent from ProtonMail mobile

-------- Original Message --------
On Mar 28, 2018, 19:00, Rob Pomeroy wrote:

> Okay thanks Francois. Bug filed.
>
> Rob
>
> --
> Rob Pomeroy, [CISSP](https://www.isc2.org/cissp), [Solicitor](http://solicitors.lawsociety.org.uk/person/250541/robert-john-pomeroy)| rob at pomeroy.me
> [My novel](https://www.smashwords.com/books/view/78386) | [LinkedIn](http://www.linkedin.com/in/robpomeroy) | [Personal blog](http://pomeroy.me/) | [Geek & Dummy](http://geekanddummy.com/)
>
> On 28 March 2018 at 17:45, Francois Armand <francois.armand at normation.com> wrote:
>
>> Hello Rob,
>>
>> It clearly *does* sound like a bug. Or at least something sufficiently unexpected that we need to look at it (and if we really want to let the possibility to adjust timezone by user, well we will need a little bit more of explanation on the technique about that fact - and it should be an option).
>>
>> So yes, please report it, it would be very kind of you.
>>
>> Thank you very much !
>>
>> On 28/03/2018 18:35, Rob Pomeroy wrote:
>>
>>> Hi,
>>>
>>> There's a interesting snag with the "Time settings version 3.2" directive. It sets the timezone correctly for the root user, but apparently not for other users, on Ubuntu 16.
>>>
>>> Here's an example of a server, which Rudder claims is fully compliant:
>>>
>>>> rob.pomeroy at webdbb2:~$ date
>>>> Wed Mar 28 16:15:14 UTC 2018
>>>> rob.pomeroy at webdbb2:~$ sudo date
>>>> Wed Mar 28 17:15:20 BST 2018
>>>> rob.pomeroy at webdbb2:~$ cat /etc/timezone
>>>> Europe/London
>>>
>>> This server is configured to timezone Europe/London, which is currently on daylight saving time (British Summer Time).
>>>
>>> Running dpkg-reconfigure -f noninteractive tzdata fixes the problem for all users. So clearly, it does something that the Rudder directive misses. The other command that's popular on Ubuntu, "timedatectl set-timezone Europe/London" , does not fix the problem.
>>>
>>> Note: we're not setting TZ in profiles or bashrcs, or anything like that.
>>>
>>> Does this look like a bug? If so, I'll willingly report it.
>>>
>>> Rob
>>>
>>> --
>>> Rob Pomeroy, [CISSP](https://www.isc2.org/cissp), [Solicitor](http://solicitors.lawsociety.org.uk/person/250541/robert-john-pomeroy)| rob at pomeroy.me
>>> [My novel](https://www.smashwords.com/books/view/78386) | [LinkedIn](http://www.linkedin.com/in/robpomeroy) | [Personal blog](http://pomeroy.me/) | [Geek & Dummy](http://geekanddummy.com/)
>>>
>>> ______________________________
>>>
>>> _________________
>>> rudder-users mailing list
>>> [rudder-users at lists.rudder-
>>>
>>> project.org](mailto:rudder-users at lists.rudder-project.org)
>>>
>>> [https://www.rudder-project.
>>>
>>> org/mailman/listinfo/rudder-
>>>
>>> users](https://www.rudder-project.org/mailman/listinfo/rudder-users)
>>
>> --
>>
>> ---------------------------------------------------------------
>>
>> François ARMAND
>> Co-founder & CTO
>> [Normation](http://www.normation.com)
>> ---------------------------------------------------------------
>>
>> 87 rue de Turbigo, 75003 Paris, France
>> Telephone:	[+33 (0)1 83 62 99 23](tel:+33%201%2083%2062%2099%2023)
>> Mobile:	[+33 (0)6 63 37 60 55](tel:+33%206%2063%2037%2060%2055)
>> ---------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20180328/77f6316d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-square.gif
Type: image/gif
Size: 1036 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20180328/77f6316d/attachment.gif>


More information about the rudder-users mailing list