Re: [arch-general] NTP: Possible permissions bug

2014-05-09 Thread Gaetan Bisson
[2014-05-09 08:26:59 -0700] Kyle Terrien: > In ntp-4.2.7, there is a file called .placeholder. I know, I put it there. :) Anyhow I'm glad you diagnosed your problem. -- Gaetan pgp2Z8jsm8yHj.pgp Description: PGP signature

Re: [arch-general] NTP: Possible permissions bug

2014-05-09 Thread luc . linux
On Fri, May 09, 2014 at 12:43:11PM -0400, Carl Schaefer wrote: > it appears that getaddrinfo() rescans /etc/hosts in full for each > lookup. That's not obviously related to the problem you're having with > ntpd, but it does seem that huge ad-blocking host files are horribly > inefficient. Does an

Re: [arch-general] NTP: Possible permissions bug

2014-05-09 Thread Carl Schaefer
On Fri, 2014-05-09 at 08:47 -0700, Kyle Terrien wrote: > I was using an old hpHosts /etc/hosts file (to block ads). I reverted it > to the stock /etc/hosts file in the package filesystem, and ntp-4.2.7 > runs without thrashing. > > I'm re-enabling Adblock Plus for now--until I get around to creati

Re: [arch-general] NTP: Possible permissions bug

2014-05-09 Thread Kyle Terrien
On 05/08/2014 06:34 PM, Kyle Terrien wrote: > Hi fellow Archers, > > I seem to be having trouble with ntpd.service since the 4.2.7 upgrade. I > can't get ntpd to run as the ntp user. Well, I feel dumb. After adding a couple more -d flags to ntpd, I got something about unable to lookup hostnames.

Re: [arch-general] NTP: Possible permissions bug

2014-05-09 Thread Kyle Terrien
On 05/08/2014 11:00 PM, Gaetan Bisson wrote: > [2014-05-08 18:34:54 -0700] Kyle Terrien: >> I took out the "-u ntp:ntp" parameter (so ntp runs as root), and these >> errors disappeared. Also, ntpq -p returns the NTP servers I'm >> synchronized with. So, I'm pretty sure the issue is permissions rela

Re: [arch-general] NTP: Possible permissions bug

2014-05-08 Thread Gaetan Bisson
[2014-05-08 18:34:54 -0700] Kyle Terrien: > I took out the "-u ntp:ntp" parameter (so ntp runs as root), and these > errors disappeared. Also, ntpq -p returns the NTP servers I'm > synchronized with. So, I'm pretty sure the issue is permissions related, > but I have no idea what it's running into.

[arch-general] NTP: Possible permissions bug

2014-05-08 Thread Kyle Terrien
Hi fellow Archers, I seem to be having trouble with ntpd.service since the 4.2.7 upgrade. I can't get ntpd to run as the ntp user. I'm using the /etc/ntp.conf provided by the package ntp. When starting ntpd.service (systemctl start ntp.service), ntpd spikes the CPU for a moment, and then spikes t