ntpq vs new DNS

2017-04-16 Thread Hal Murray
For server slots specified by name, the new DNS returns both the local IP Address and the hostname. Servers specified by numerical address don't return a hostname. The current ntpq gives preference to the hostname slot. That works for pool slots where the address is useless. It's much more

Re: Does anybody regularly test the cxfreeze recipe?

2017-04-16 Thread Hal Murray
> I tested it one when I implemented. Haven't since. I added a step to devel/pre-release.txt -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Re: Version Strings - doesn't show recent edits

2017-04-16 Thread Hal Murray
g...@rellim.com said: > Before we get into how much extra work this adds to the build, what exactly > is the extra info we would want? I'm not sure we need any "extra" info. The NMEA driver wants as late a time-stamp as it can get. It will work with the last commit date. It will work better

Re: Refclocks and formatting

2017-04-16 Thread Hal Murray
ianbru...@gmail.com said: > In the units project I discovered that the string formatting for refclocks > is handled in a completely different manner from the rest of the code. I can't see any reason for refclocks to be different. There might be one. At least from ntpmon, it does the same for

Re: Refclocks and formatting

2017-04-16 Thread Gary E. Miller
Yo Ian! On Sun, 16 Apr 2017 18:24:35 -0500 Ian Bruene wrote: > As far as I can tell from a cursory examination of the code the > reason for this is so it can use the same bitmask #defines as the > rest of the system. Is this correct? If so does that need to remain > the case, if not then why is

Does anybody have a sample of a NMEA device with the 1024 week bug?

2017-04-16 Thread Hal Murray
I'd like to get one for testing. -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Re: Refclocks and formatting

2017-04-16 Thread Hal Murray
ianbru...@gmail.com said: > Related @anyone: is there a way to make ntpd produce a fake refclock for > testing purposes? I don't have the hardware for it to produce one Sure. Just set one up. NMEA, for example, needs a serial port to get past the open, but it should work if you don't have an

Refclocks and formatting

2017-04-16 Thread Ian Bruene
@ESR In the units project I discovered that the string formatting for refclocks is handled in a completely different manner from the rest of the code. Specifically ntpq/mon call ntp.ntpc.statustoa which is a C library, instead of calling hypothetical formatting functions in pylib/util.py like

Re: Does anybody regularly test the cxfreeze recipe?

2017-04-16 Thread Eric S. Raymond
Hal Murray : > and test/use the output. > > as described in devel/packaging.txt I tested it one when I implemented. Haven't since. -- http://www.catb.org/~esr/";>Eric S. Raymond Please consider contributing to my Patreon page at https://www.patreon.com/esr so I can keep the inv

Does anybody regularly test the cxfreeze recipe?

2017-04-16 Thread Hal Murray
and test/use the output. as described in devel/packaging.txt -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Re: Version Strings - doesn't show recent edits

2017-04-16 Thread Gary E. Miller
Yo Hal! I see a strong synergy between this and bug #268. Hal wants builds that are identifiably touched by developer actions. Repro builds want the exact opposite, builds that validate zero developer changes. Flip sides of the same coin? On Sun, 16 Apr 2017 12:18:18 -0700 Hal Murray wrote:

Re: Version Strings - doesn't show recent edits

2017-04-16 Thread Hal Murray
> It would be possible, with some hackery, to bump the version string on every > edit. However, this would mean that every single build would always > recompile every file that included the generated version symbol. This would > be irritating, especially given the existence of slow buildbots; qe

Re: Version Strings - doesn't show recent edits

2017-04-16 Thread Eric S. Raymond
Hal Murray : > I consider the current setup to be close to useless. If I go through the > typical edit, build, test cycle, the string doesn't get updated so I can't > tell if I'm running the version from git or something with local > modifications. > > I gather there is a constraint from distr

Re: Interfaces: Link to discussion on netbsd-users

2017-04-16 Thread Hal Murray
e...@thyrsus.com said: > Thanks. The essential point (bind reacquisition failing after droproot) is > not NetBSD specific and is worth keeping in mind. I think it works (on Fedora). My test case is closing the lid on a laptop, waiting a while, then opening it. 16 Apr 02:21:50 ntpd[636]: Dele

Re: Interfaces: Link to discussion on netbsd-users

2017-04-16 Thread Eric S. Raymond
Hal Murray : > > http://mail-index.netbsd.org/netbsd-users/2017/04/14/msg019489.html > Subject: bind reacts badly to dhcpcd losing/regaining connectivity > > Much of it is NetBSD sepecific. I think it will be worth scanning if/when > you decide to revisit this area. Thanks. The essential poin

Version Strings - doesn't show recent edits

2017-04-16 Thread Hal Murray
I consider the current setup to be close to useless. If I go through the typical edit, build, test cycle, the string doesn't get updated so I can't tell if I'm running the version from git or something with local modifications. I gather there is a constraint from distros. They want the binari