<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Rob, <br>
<br>
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). <br>
<br>
So yes, please report it, it would be very kind of you. <br>
<br>
Thank you very much !<br>
<br>
On 28/03/2018 18:35, Rob Pomeroy wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMRdZXaNWPrK=HtCeckiUx61BUhndq9VrFzv-w2jm7Kx--EJCg@mail.gmail.com">
<div dir="ltr">Hi,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Here's an example of a server, which Rudder claims is fully
compliant:</div>
<div><br>
</div>
<blockquote style="margin:0px 0px 0px
40px;border:none;padding:0px">
<div>
<div><font face="monospace, monospace">rob.pomeroy@webdbb2:~$
date</font></div>
</div>
<div>
<div><font face="monospace, monospace">Wed Mar 28 <b><font
color="#ff0000">16:15:14 UTC</font></b> 2018</font></div>
</div>
<div>
<div><font face="monospace, monospace">rob.pomeroy@webdbb2:~$
sudo date</font></div>
</div>
<div>
<div><font face="monospace, monospace">Wed Mar 28 <b><font
color="#ff0000">17:15:20 BST</font></b> 2018</font></div>
</div>
<div><font face="monospace, monospace">
<div>rob.pomeroy@webdbb2:~$ cat /etc/timezone</div>
<div><font color="#ff0000"><b>Europe/London</b></font></div>
</font></div>
</blockquote>
<div><br>
</div>
<div>This server is configured to timezone Europe/London, which
is currently on daylight saving time (British Summer Time).</div>
<div><br>
</div>
<div>Running <font face="monospace, monospace">dpkg-reconfigure
-f noninteractive tzdata</font> fixes the problem for all
users. So clearly, it does something that the Rudder directive
misses. The other command that's popular on Ubuntu, <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">"</span><font
style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"
face="monospace, monospace">timedatectl set-timezone
Europe/London</font><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">" ,
does <u>not</u> fix the problem.</span></div>
<div><br>
</div>
<div>Note: we're not setting TZ in profiles or bashrcs, or
anything like that.</div>
<div><br>
</div>
<div>Does this look like a bug? If so, I'll willingly report it.</div>
<div><br>
</div>
<div>Rob<br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><font color="#351c75"><br>
</font></div>
<div>
<div style="font-size:small"><span
style="color:rgb(53,28,117)">--</span><br>
</div>
<div style="font-size:small"><font
color="#000000"><b>Rob Pomeroy</b>,
</font><a
href="https://www.isc2.org/cissp"
style="color:rgb(11,83,148)"
target="_blank"
moz-do-not-send="true"><font
color="#0b5394">CISSP</font></a><font
style="color:rgb(11,83,148)"
color="#0b5394">, <a
href="http://solicitors.lawsociety.org.uk/person/250541/robert-john-pomeroy"
target="_blank"
moz-do-not-send="true"><font
color="#0b5394">Solicitor</font></a>
</font><b><font color="#000000">| </font></b><font
style="color:rgb(11,83,148)"
color="#0b5394"><a
href="mailto:rob@pomeroy.me"
style="color:rgb(11,83,148)"
target="_blank"
moz-do-not-send="true">rob@pomeroy.me</a></font></div>
<div style="font-size:small"><a
href="https://www.smashwords.com/books/view/78386"
style="color:rgb(11,83,148)"
target="_blank"
moz-do-not-send="true"><font
color="#0b5394">My novel</font></a><font
color="#0b5394"> | </font><font
color="#0b5394"><a
href="http://www.linkedin.com/in/robpomeroy"
target="_blank"
moz-do-not-send="true"><font
color="#0b5394">LinkedIn</font></a> | </font><a
href="http://pomeroy.me/"
style="color:rgb(11,83,148)"
target="_blank"
moz-do-not-send="true"><font
color="#0b5394">Personal blog</font></a><font
color="#000000"> | </font><a
href="http://geekanddummy.com/"
style="color:rgb(11,83,148)"
target="_blank"
moz-do-not-send="true"><font
color="#0b5394">Geek & Dummy</font></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rudder-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a class="moz-txt-link-freetext" href="https://www.rudder-project.org/mailman/listinfo/rudder-users">https://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
</blockquote>
<p><br>
</p>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css"><!--
a.redlink:link { color: #1782E6; text-decoration: none; }
a.redlink:visited { color: #1782E6; text-decoration: none; }
.sig { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: small; }
.sigsmall { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; font-size: x-small; }
--></style>
<br>
<br>
<table width="380" cellspacing="2" cellpadding="0" border="0">
<tbody>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><b><img alt=""
src="cid:part8.5730E063.BC422B72@normation.com"
width="50" align="left" height="50" hspace="10"> <span
class="sig">François ARMAND</span></b><br>
<span class="sig"><i>Co-founder & CTO</i></span><br>
<span class="sig"><a class="redlink"
href="http://www.normation.com">Normation</a></span> </td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
<tr>
<td colspan="2"><span class="sigsmall"><b>87 rue de Turbigo,
75003 Paris, France</b></span></td>
</tr>
<tr>
<td><span class="sigsmall">Telephone:</span></td>
<td><span class="sigsmall">+33 (0)1 83 62 99 23</span></td>
</tr>
<tr>
<td><span class="sigsmall">Mobile:</span></td>
<td><span class="sigsmall">+33 (0)6 63 37 60 55</span></td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>