Re: what was up with ntp again?

2015-05-04 Thread René J . V . Bertin
> 10.10.1 may not be using pacemaker any more, though. 10.10 release did but > Apple pulled the plug later; I'm not clear on when (and to be honest, don't > much care --- 10.10 is not stable enough IMO, especially with recent > updates). Hah, not even the latest and ¿reatest? :) > I think more re

Re: what was up with ntp again?

2015-04-30 Thread Jan Stary
> > The last release of http://www.openntpd.org/portable.html > > happened about a month ago and explicitly states that it is > > "known to build and work" on Mac OS X (10.9). > > yay! > > I think more recent openntpd fixed many of the issues that made it a poor > generic choice. Some interested

Re: what was up with ntp again?

2015-04-29 Thread Brandon Allbery
On Wed, Apr 29, 2015 at 7:43 PM, Daniel J. Luke wrote: > 10.10.1 has - http://www.opensource.apple.com/source/ntp/ntp-92/ > 10.10.1 may not be using pacemaker any more, though. 10.10 release did but Apple pulled the plug later; I'm not clear on when (and to be honest, don't much care --- 10.10 i

Re: what was up with ntp again?

2015-04-29 Thread Daniel J. Luke
> On Apr 28, 2015, at 4:14 PM, Jan Stary wrote: > So the Apple NTPd is a stripped down ntp.org implementation? > Or is it a different implementation, decidedly omitting some > aspects of NTP (nanosecond precission)? you can check for yourself and see Apple’s changes: 10.10.1 has - http://www.ope

Re: what was up with ntp again?

2015-04-29 Thread Brandon Allbery
On Wed, Apr 29, 2015 at 7:07 PM, Dave Horsfall wrote: > On Tue, 28 Apr 2015, Brandon Allbery wrote: > > > pacemaker *only* does the local time update stuff, not the network-based > > stuff or determining the exact updates to be done; it gets those from > > ntpd. > > Hmmm... > > ozzie:~ dave$ ps a

Re: what was up with ntp again?

2015-04-29 Thread Dave Horsfall
On Tue, 28 Apr 2015, Brandon Allbery wrote: > pacemaker *only* does the local time update stuff, not the network-based > stuff or determining the exact updates to be done; it gets those from > ntpd. Hmmm... ozzie:~ dave$ ps ax | egrep -i "ntpd|pacemaker" 197 ?? Ss 0:05.13 /usr/sbin/nt

Re: what was up with ntp again?

2015-04-28 Thread Brandon Allbery
On Tue, Apr 28, 2015 at 8:14 PM, Jan Stary wrote: > So ntpd and pacemaker are supposed to run simultaneously? > What exactly is pacemaker's job if I have ntpd running? > > > The longer version I'll briefly gloss: Apple replaced traditional ntp > with > > one that uses less power and is more lapto

Re: what was up with ntp again?

2015-04-28 Thread Jan Stary
> > To put it in context: my computers all use the same ntp server ( > > fr.ntp.pool.org) so that in theory they share the same clock. Turns out > > that my Mac is about 5min (a bit over 300 seconds) ahead of the others, and > > also of Bradley's VM. I've tried deactivating and reactivating (after

Re: what was up with ntp again?

2015-03-24 Thread Bradley Giesbrecht
On Mar 23, 2015, at 11:10 AM, Mihai Moldovan wrote: > On 23.03.2015 07:05 PM, Christopher Jones wrote: >> I also do not have /etc/ntp.drift on either of my OSX10.10 machines. >> On 23 Mar 2015, at 5:54pm, Brandon Allbery > > wrote: > > No /etc/ntp.drift on my 10.9 ma

Re: what was up with ntp again?

2015-03-23 Thread Mike Alexander
On 23 Mar 2015, at 14:36, Mihai Moldovan wrote: On 23.03.2015 07:27 PM, Christopher Jones wrote: On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: You likely rebooted yesterday or the like. I haven't done so on a while, obviously… yes, I did reboot around then yesterday. Perhaps I mis under

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 19:47:38 Christopher Jones wrote: > > I only reboot when forced to, basically. > > nothing (in principle) wrong with that … One thing, actually: disk errors can accumulate (some form of fsck is run when you reboot/mount a disk). > Oh, just based on your various posts I

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 7:46pm, René J.V. Bertin wrote: > > On Monday March 23 2015 14:36:53 Brandon Allbery wrote: > >> the question of why the clock drifts so badly. Does everyone who sees that >> *really* not reboot often? > > %> w > 20:35 up 38 days, 6:28, 5 users, load averages: 4.35 5.43

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 14:36:53 Brandon Allbery wrote: > the question of why the clock drifts so badly. Does everyone who sees that > *really* not reboot often? %> w 20:35 up 38 days, 6:28, 5 users, load averages: 4.35 5.43 4.61 I only reboot when forced to, basically. > Did you perhaps rem

Re: what was up with ntp again?

2015-03-23 Thread Daniel J. Luke
> On Mar 23, 2015, at 2:36 PM, Brandon Allbery wrote: > On Mon, Mar 23, 2015 at 2:27 PM, Christopher Jones > wrote: > yes, I did reboot around then yesterday. Perhaps I mis understood Brendan’s > mail though but that seemed to suggest even a reboot wouldn’t update it. But > if it does then fin

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:27 PM, Christopher Jones wrote: >> On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: >> You likely rebooted yesterday or the like. >> >> I haven't done so on a while, obviously… > > yes, I did reboot around then yesterday. Perhaps I mis understood [Brandon]’s > mail though but th

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:27 PM, Christopher Jones wrote: > yes, I did reboot around then yesterday. Perhaps I mis understood > Brendan’s mail though but that seemed to suggest even a reboot wouldn’t > update it. But if it does then fine, (non)mystery solved… I was under the impression a reboot

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 6:27pm, Christopher Jones wrote: > > >> On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: >> >> On 23.03.2015 07:23 PM, Chris Jones wrote: >>> So why was mine seemingly updated only yesterday ? I've never done >>> anything w.r.t. ntp or pacemaker on this machine, so whatev

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 6:24pm, Mihai Moldovan wrote: > > On 23.03.2015 07:23 PM, Chris Jones wrote: >> So why was mine seemingly updated only yesterday ? I've never done >> anything w.r.t. ntp or pacemaker on this machine, so whatever setting is >> running it must by definition be the default Appl

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:23 PM, Chris Jones wrote: > So why was mine seemingly updated only yesterday ? I've never done > anything w.r.t. ntp or pacemaker on this machine, so whatever setting is > running it must by definition be the default Apple setup ... ? Dunno. This was determined (and co

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:23 PM, Chris Jones wrote: > So why was mine seemingly updated only yesterday ? I've never done > anything w.r.t. ntp or pacemaker on this machine, so whatever setting is > running it must by definition be the default Apple setup ... ? You likely rebooted yesterday or the like. I

Re: what was up with ntp again?

2015-03-23 Thread Chris Jones
> On 23 Mar 2015, at 6:20 pm, Brandon Allbery wrote: > >> On Mon, Mar 23, 2015 at 2:17 PM, Chris Jones >> wrote: >> > The default permissions are likely to be fine: >> > >> > -rw-r--r-- 1 root wheel 9 Dec 24 02:58 /var/db/ntp.drift >> >> That file hasn't been updated for a while ? > > Tha

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:17 PM, Chris Jones wrote: > > The default permissions are likely to be fine: > > > > -rw-r--r-- 1 root wheel 9 Dec 24 02:58 /var/db/ntp.drift > > That file hasn't been updated for a while ? > That would be correct for the Apple ntpd/pacemaker setup. It's created once an

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:17 PM, Chris Jones wrote: >> On 23 Mar 2015, at 6:14 pm, Mihai Moldovan wrote: >> The default permissions are likely to be fine: >> >> -rw-r--r-- 1 root wheel 9 Dec 24 02:58 /var/db/ntp.drift > > That file hasn't been updated for a while ? Yep. But my clock is perfectly synchron

Re: what was up with ntp again?

2015-03-23 Thread Chris Jones
> On 23 Mar 2015, at 6:14 pm, Mihai Moldovan wrote: > >> On 23.03.2015 07:17 PM, René J.V. Bertin wrote: >> I didn't have that file either (OS X 10.9), and the pacemaker manpage does >> say something about the daemon exiting if the file isn't recreated within a >> certain time after deletin

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> > I didn't have that file either (OS X 10.9), and the pacemaker manpage does > say something about the daemon exiting if the file isn't recreated within a > certain time after deleting it. I've created empty files for both > /var/db/ntp.drift and /etc/ntp.drift to see if they get populated; w

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 2:05 PM, Christopher Jones wrote: > > I also do not have /etc/ntp.drift on either of my OSX10.10 machines. > > I do have > > /private/var/db/ntp.drift > > could you perhaps have sym linked it, or similar, at some point ? I > certainly have never touched or even looked at t

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:17 PM, René J.V. Bertin wrote: > I didn't have that file either (OS X 10.9), and the pacemaker manpage does > say something about the daemon exiting if the file isn't recreated within a > certain time after deleting it. I've created empty files for both > /var/db/ntp.drift and /

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 6:17pm, René J.V. Bertin wrote: > > On Monday March 23 2015 18:05:45 Christopher Jones wrote: > >> >> I do have >> >> /private/var/db/ntp.drift >> >> could you perhaps have sym linked it, or similar, at some point ? I >> certainly have never touched or even looked at t

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 18:05:45 Christopher Jones wrote: > > I do have > > /private/var/db/ntp.drift > > could you perhaps have sym linked it, or similar, at some point ? I certainly > have never touched or even looked at this file until just now... I didn't have that file either (OS X 10.9

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 07:05 PM, Christopher Jones wrote: > I also do not have /etc/ntp.drift on either of my OSX10.10 machines. > On 23 Mar 2015, at 5:54pm, Brandon Allbery > wrote: No /etc/ntp.drift on my 10.9 machine either. > I do have > > /private/var/db/ntp.drift But

Re: what was up with ntp again?

2015-03-23 Thread Christopher Jones
> On 23 Mar 2015, at 5:54pm, Brandon Allbery wrote: > > On Mon, Mar 23, 2015 at 1:58 PM, René J.V. > wrote: > Backatmymac (and being able to print again to my networked printer despite a > "cups-exec sandbox error 3850") I was going to follow the above instructions,

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 1:58 PM, René J.V. wrote: > Backatmymac (and being able to print again to my networked printer despite > a "cups-exec sandbox error 3850") I was going to follow the above > instructions, and noticed that I don't have an ntp.drift file at all. Could > that explain the persi

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 15:02:37 René J.V. Bertin wrote: > >sudo launchctl unload > > /System/Library/LaunchDaemons/com.apple.pacemaker.plist > >sudo rm /etc/ntp.drift > >sudo launchctl stop org.ntp.ntpd > ># wait an hour or so for ntpd to establish the current drift > >sudo >

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 05:51 PM, Brandon Allbery wrote: > On Mon, Mar 23, 2015 at 12:15 PM, Mihai Moldovan > wrote: > > Pretty good, if they use my favorite time keeping daemon > chrony. > > > ...and your port for it is pending? :p > (Seriously, I've been using full ntpd beca

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 12:52 PM, Michael wrote: > When I tried using the Apple NTP and pacemaker, what I discovered > essentially is that NTP does NO clock adjustment at all. All the clock > adjustment comes from pacemaker. Unfortunately, it did not do a good job of > synchronizing for me. In pa

Re: what was up with ntp again?

2015-03-23 Thread Michael
> The longer version I'll briefly gloss: Apple replaced traditional ntp with > one that uses less power and is more laptop friendly, when it works right. > But it assumes that the clock drift of a brand new machine is the same as > that of a fully burned-in and deployed machine, which it might w

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 12:15 PM, Mihai Moldovan wrote: > Pretty good, if they use my favorite time keeping daemon > chrony. > ...and your port for it is pending? :p (Seriously, I've been using full ntpd because pacemaker isn't quite enough for my constantly changing circumstances, but I can tel

Re: what was up with ntp again?

2015-03-23 Thread Daniel J. Luke
> On Mar 23, 2015, at 5:42 AM, René J.V. Bertin wrote: > Is this related to the issue that was discussed a while back, and to Apple's > conflicting service (pacekeeper?)? > How can I set things right (other than doing a full reinstall of course ^^) ? Apple's ntpd/pacemaker setup not working very

Re: what was up with ntp again?

2015-03-23 Thread Mihai Moldovan
On 23.03.2015 02:31 PM, Brandon Allbery wrote: > (If your clock still drifts after that, file a radar with Apple. > Replacing Apple's ntpd with a full one is probably not the best of > ideas, although it can be done if needed. But full ntpd is not > actually suitable for anything but certain scient

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 10:59:33 Brandon Allbery wrote: >> Would it make sense to see if it works on OS X? >> > >Sure, if it does. Erm, it'd make sense to see if it works if it does? Does build, maybe? :) >I do wonder if the inexplicable delays I sometimes see in app start-up, or >> apps being

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 10:50 AM, René J.V. wrote: > On Monday March 23 2015 10:25:37 Brandon Allbery wrote: > >> Again I never noticed any such performance issues ... but apparently > >> that's because my Ubuntu hosts don't use ntp but something called > ntpdate: > > > >ntpdate is a one-shot, so

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 10:25:37 Brandon Allbery wrote: >> Again I never noticed any such performance issues ... but apparently >> that's because my Ubuntu hosts don't use ntp but something called ntpdate: >> > >ntpdate is a one-shot, sometimes run from cron. I think that's what Ubuntu does. >Do

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 10:02 AM, René J.V. wrote: > On Monday March 23 2015 09:31:50 Brandon Allbery wrote: > >sudo launchctl unload > /System/Library/LaunchDaemons/com.apple.pacemaker.plist > >sudo rm /etc/ntp.drift > >sudo launchctl stop org.ntp.ntpd > ># wait an hour or so for

Re: what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
On Monday March 23 2015 09:31:50 Brandon Allbery wrote: Hi, and thanks! >Short version: > >sudo launchctl unload > /System/Library/LaunchDaemons/com.apple.pacemaker.plist >sudo rm /etc/ntp.drift >sudo launchctl stop org.ntp.ntpd ># wait an hour or so for ntpd to establish the cur

Re: what was up with ntp again?

2015-03-23 Thread Brandon Allbery
On Mon, Mar 23, 2015 at 5:42 AM, René J.V. wrote: > To put it in context: my computers all use the same ntp server ( > fr.ntp.pool.org) so that in theory they share the same clock. Turns out > that my Mac is about 5min (a bit over 300 seconds) ahead of the others, and > also of Bradley's VM. I've

what was up with ntp again?

2015-03-23 Thread René J . V . Bertin
Hi, I can remember a discussion about ntp issues a while back. Not really related to MacPorts, but I think it was on here. To put it in context: my computers all use the same ntp server (fr.ntp.pool.org) so that in theory they share the same clock. Turns out that my Mac is about 5min (a bit ov