Re: [time-nuts] Leap-second capture on laptop

2017-01-01 Thread Sanjeev Gupta
On Sun, Jan 1, 2017 at 10:44 PM, David Malone  wrote:

> On Sun, Jan 01, 2017 at 05:05:45AM -0800, Hal Murray wrote:
> > gha...@gmail.com said:
> > > No NTP was running.
>
> > What software told the kernel that there was going to be a leap second
> at the
> > end of the day?
>
> I guess it was part of systemd?
>
> https://wiki.archlinux.org/index.php/systemd-timesyncd


Yes, please.

-- 
Sanjeev Gupta
+65 98551208 http://www.linkedin.com/in/ghane
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Leap-second capture on laptop

2017-01-01 Thread Philip Gladstone
I added this message to the Linux kernel near the end of 1993. There is 
a companion message that indicates the removal of the leap second -- but 
this has never been seen (except in testing!).


In retrospect, it isn't clear that jumping the clock by a second was the 
right decision, but, at the time, it was the "obvious" thing to do.


Philip

On 31/12/2016 20:00, Magnus Danielson wrote:

Fellow time-nuts,

While not fancy by any means, my laptop captured the leap-second being 
inserted by this message in the /var/log/syslog:
Jan  1 00:59:59 greytop kernel: [78458.839942] Clock: inserting leap 
second 23:59:60 UTC




___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Leap-second capture on laptop

2017-01-01 Thread Paul
On Sun, Jan 1, 2017 at 9:44 AM, David Malone  wrote:

> On Sun, Jan 01, 2017 at 05:05:45AM -0800, Hal Murray wrote:
> > gha...@gmail.com said:
> > > No NTP was running.
>
> > What software told the kernel that there was going to be a leap second
> at the
> > end of the day?
>
> I guess it was part of systemd?
>

Unless you explicitly install ntp, systemd runs an SNTP-like client to keep
the time increasing (say across reboots) and notify the kernel of pending
leap seconds.  In that circumstance one would expect to see ...59:59 twice.


https://www.freedesktop.org/software/systemd/man/systemd-timesyncd.service.html
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Leap-second capture on laptop

2017-01-01 Thread David Malone
On Sun, Jan 01, 2017 at 05:05:45AM -0800, Hal Murray wrote:
> gha...@gmail.com said:
> > No NTP was running. 

> What software told the kernel that there was going to be a leap second at the 
> end of the day?

I guess it was part of systemd?

https://wiki.archlinux.org/index.php/systemd-timesyncd

David.
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Leap-second capture on laptop

2017-01-01 Thread Hal Murray

gha...@gmail.com said:
> No NTP was running. 

What software told the kernel that there was going to be a leap second at the 
end of the day?


-- 
These are my opinions.  I hate spam.



___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Leap-second capture on laptop

2016-12-31 Thread Sanjeev Gupta
On Sun, Jan 1, 2017 at 9:00 AM, Magnus Danielson  wrote:

> While not fancy by any means, my laptop captured the leap-second being
> inserted by this message in the /var/log/syslog:
> Jan  1 00:59:59 greytop kernel: [78458.839942] Clock: inserting leap
> second 23:59:60 UTC
>

On my Ubuntu desktop, 17.04 -dev, this is the systemd journal:

Jan 01 07:59:59 X201wily kernel: Clock: inserting leap second 23:59:60 UTC
Jan 01 07:59:59 X201wily systemd[1484]: Time has been changed
Jan 01 07:59:59 X201wily systemd[1]: Time has been changed

No NTP was running.

-- 
Sanjeev Gupta
+65 98551208 http://www.linkedin.com/in/ghane
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Leap-second capture on laptop

2016-12-31 Thread Magnus Danielson

Good evening David,

On 01/01/2017 02:27 AM, Dr. David Kirkby (Kirkby Microwave Ltd) wrote:

On 1 January 2017 at 01:00, Magnus Danielson 
wrote:


Fellow time-nuts,

While not fancy by any means, my laptop captured the leap-second being
inserted by this message in the /var/log/syslog:
Jan  1 00:59:59 greytop kernel: [78458.839942] Clock: inserting leap
second 23:59:60 UTC



Noting reported on my Sun Ultra 27 running OpenSolaris.

Dec 31 23:55:02 hawk sendmail[4016]: [ID 801593 mail.info] uBVNt2jv004015:
to=, ctladdr= (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=30730, relay=local, dsn=2.0.0, stat=Sent
Jan  1 00:00:02 hawk sendmail[4055]: [ID 801593 mail.info] v01002rm004055:
from=root, size=319, class=0, nrcpts=1,
msgid=<20170101.v01002rm004055@hawk.local>, relay=root@localhost


What NTP is this?

There is security patches to be made to older NTPs.
I had to shut down xntpd on several solaris machines to make them safe, 
as there was no way of configure them to become safe. That was a couple 
of years ago.




This OS has not been updated for years

drkirkby@hawk:~$ cat /etc/release
   OpenSolaris Development snv_134 X86
   Copyright 2010 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
 Assembled 01 March 2010


Ehm. While off-topic, let me tell you that we had to shut down the last 
Solaris machine we had on the computer club because we concluded that 
there where tools designed to target that generation of Solaris machines 
and take them over. It should not see public internet if powered on.


The network is increasingly hostile, so patch your machines, and don't 
let any machines sit on public network unless you can patch them 
regularly and also do that.


Cheers,
Magnus
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


Re: [time-nuts] Leap-second capture on laptop

2016-12-31 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
On 1 January 2017 at 01:00, Magnus Danielson 
wrote:

> Fellow time-nuts,
>
> While not fancy by any means, my laptop captured the leap-second being
> inserted by this message in the /var/log/syslog:
> Jan  1 00:59:59 greytop kernel: [78458.839942] Clock: inserting leap
> second 23:59:60 UTC
>

Noting reported on my Sun Ultra 27 running OpenSolaris.

Dec 31 23:55:02 hawk sendmail[4016]: [ID 801593 mail.info] uBVNt2jv004015:
to=, ctladdr= (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=30730, relay=local, dsn=2.0.0, stat=Sent
Jan  1 00:00:02 hawk sendmail[4055]: [ID 801593 mail.info] v01002rm004055:
from=root, size=319, class=0, nrcpts=1,
msgid=<20170101.v01002rm004055@hawk.local>, relay=root@localhost


This OS has not been updated for years

drkirkby@hawk:~$ cat /etc/release
   OpenSolaris Development snv_134 X86
   Copyright 2010 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
 Assembled 01 March 2010


Dave
___
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.