Re: ntpsec | Failed pipeline for master | 8cbc2dda

2025-07-26 Thread Gary E. Miller via devel
Yo Hal! On Sat, 26 Jul 2025 17:37:57 -0700 Hal Murray via devel wrote: > https://gitlab.com/NTPsec/ntpsec/-/jobs/10820996363 > > [ERROR] Cannot find '/usr/bin/file' command, and no 'file' command is > found in the PATH > Coverity Capture uses this tool to identify the file type of > e

Re: Logging with threads

2025-07-05 Thread Gary E. Miller via devel
Yo Hal! On Sat, 05 Jul 2025 22:40:16 -0700 Hal Murray via devel wrote: > I'd like msyslog to indicate which thread is doing the logging. Nice idea. > Anybody thought about this area? Any good ideas? None from me, but I like your idea. RGDS GARY --

Re: Six not properly documented patches for ntpviz

2025-07-01 Thread Gary E. Miller via devel
Yo James! On Tue, 01 Jul 2025 16:23:37 -0700 James Browning via devel wrote: >is They should apply in any order. Please make these Merge Requests. RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend,

Re: Do we run on any systems that don't support Go? Rust?

2025-06-10 Thread Gary E. Miller via devel
Yo Hal! On Tue, 10 Jun 2025 01:17:53 -0700 Hal Murray via devel wrote: > Gary said said: > >> Should we give up on Go? > > What is there to give up on? Is there and NTPSec go? > > There isn't any Go code in our collection, but we did put some time > and effort into thinking about it. Thu

Re: Do we run on any systems that don't support Go? Rust?

2025-06-09 Thread Gary E. Miller via devel
Yo Hal! On Mon, 09 Jun 2025 13:32:49 -0700 Hal Murray via devel wrote: > Gary said: > > Yes, when we expected Go to get more traction that it has gotten. > > Now even Google is not pushing it. > > Who is taking care of Go now? Google, sort of. They are not responding to most external bug r

Fw: New Defects reported by Coverity Scan for ntpsec

2025-06-09 Thread Gary E. Miller via devel
Yo! Whoops. See below. RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you ca

Re: Do we run on any systems that don't support Go? Rust?

2025-06-08 Thread Gary E. Miller via devel
Yo Hal! On Sun, 08 Jun 2025 22:34:35 -0700 Hal Murray via devel wrote: > >> Assuming we get things converted to Go, do we just put the old code > >> on standby? Fix security bugs for a while. > > Great way to kill the project. > > Thanks. Could you please expand a bit. Go is not standard

Re: Do we run on any systems that don't support Go? Rust?

2025-06-08 Thread Gary E. Miller via devel
Yo James! On Sun, 08 Jun 2025 06:14:08 -0700 James Browning via devel wrote: > what about gccgo[1] and gcc-rs[2] Even the people doing those projects don't think they are ready yet. RGDS GARY --- Gary E. Miller Rellim 109

Re: Do we run on any systems that don't support Go? Rust?

2025-06-07 Thread Gary E. Miller via devel
Yo Hal! On Sat, 07 Jun 2025 13:47:25 -0700 Hal Murray via devel wrote: > Gary said: > > Yes. Many. > > Thanks. > > Years ago, we were considering converting everything to Go. I don't > remember any mention of systems that don't support Go. Did I miss > (or forget) something? Depends on

Re: Do we run on any systems that don't support Go? Rust?

2025-06-07 Thread Gary E. Miller via devel
Yo Hal! On Fri, 06 Jun 2025 21:41:42 -0700 Hal Murray via devel wrote: > (this page left blank) Yes. Many. RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+

Re: DPRINT and msyslog

2025-04-05 Thread Gary E. Miller via devel
Yo Hal! On Sat, 05 Apr 2025 15:13:53 -0700 Hal Murray via devel wrote: > Is there any reason to have a DPRINT next to a msyslog that prints > the same stuff? > > DPRINT is only useful if you are running with -n and msyslog stuff > goes to the console too in that case. Right? When I made the d

Re: INSTALL.adoc

2025-04-05 Thread Gary E. Miller via devel
Yo Hal! On Wed, 02 Apr 2025 23:05:55 -0700 Hal Murray wrote: > > Best to educate the user to debug his own Python issues. > > Have you looked at README-PYTHON? Nope. Non standard file name. Why would anyone look there? Actually, who ever reads any of the doc?? > I thought it was pretty g

Re: INSTALL.adoc

2025-04-05 Thread Gary E. Miller via devel
Yo Hal! On Thu, 03 Apr 2025 21:41:02 -0700 Hal Murray wrote: > >> Have you looked at README-PYTHON? > > See attached. > > Looks good. Thanks. I'll have more Friday. Mostly references. RGDS GARY --- Gary E. Miller Re

Re: INSTALL.adoc

2025-04-04 Thread Gary E. Miller via devel
Yo James! On Fri, 04 Apr 2025 14:01:44 -0700 James Browning via devel wrote: > > I already found a mistake. Bonus points if anyone finds the > > error... I should have said 'error', not "mistake". A real error, not a typo. > nstalled? no Typo? What line? Can't find that. > sist-package

Re: INSTALL.adoc

2025-04-04 Thread Gary E. Miller via devel
Yo James! On Fri, 04 Apr 2025 13:42:41 -0700 James Browning via devel wrote: > On Friday, April 4, 2025 1:39:04 PM Pacific Daylight Time Gary E. > Miller via devel wrote: > > Yo Hal! > > > > I just pushes some changes to README-PYTHON. > > > > I alrea

Re: INSTALL.adoc

2025-04-04 Thread Gary E. Miller via devel
Yo Hal! I just pushes some changes to README-PYTHON. I already found a mistake. Bonus points if anyone finds the error... RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rell

Re: INSTALL.adoc

2025-04-04 Thread Gary E. Miller via devel
Yo Hal! I just pushes some changes to README-PYTHON. Please review. RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas libera

Re: INSTALL.adoc

2025-04-04 Thread Gary E. Miller via devel
Yo Hal! On Tue, 01 Apr 2025 19:58:48 -0700 Hal Murray wrote: > >> That "to" looks backwards to me. I expect: > >> link python to your python3 > > python3 exists, python does not. So you create python by linking > > it to python3. As Fred says: like cp. > > The ln command looked OK to

Re: INSTALL.adoc

2025-04-03 Thread Gary E. Miller via devel
Yo Hal! On Thu, 03 Apr 2025 21:53:10 -0700 Hal Murray wrote: > [README-PYTHON] > .> What would be the standard name? > > Dunno. Never seen a file like that, so can'tany be any standard. > > I think README is a fairly common name for a file in a direcory if > you are trying to help somebody g

Re: INSTALL.adoc

2025-04-03 Thread Gary E. Miller via devel
Yo Hal! On Wed, 02 Apr 2025 23:05:55 -0700 Hal Murray wrote: > > Best to educate the user to debug his own Python issues. > > Have you looked at README-PYTHON? See attached. RGDS GARY --- Gary E. Miller Rellim 109 N

Re: INSTALL.adoc

2025-04-03 Thread Gary E. Miller via devel
Yo Hal! On Thu, 03 Apr 2025 13:31:11 -0700 Hal Murray wrote: > Gary said: > >> Have you looked at README-PYTHON? > > Nope. Non standard file name. Why would anyone look there? > > What would be the standard name? Dunno. Never seen a file like that, so can'tany be any standard. READM? I

Re: Release

2025-04-03 Thread Gary E. Miller via devel
Yo Hal! On Wed, 02 Apr 2025 23:15:36 -0700 Hal Murray wrote: > Gary said: > >> We've been talking about a release for a long time. I've been > >> assuming people have been testing. > > I do not assume that. Likely they will test after release. > > By "people", I was thinking of those wh

Re: INSTALL.adoc

2025-04-02 Thread Gary E. Miller via devel
Yo Hal! On Wed, 02 Apr 2025 13:14:33 -0700 Hal Murray wrote: > g...@rellim.com said: > >> I'll punt on any distros where it's not on by default. > >> I may try it for Fedora, but not until after the release. > > Any distros that do not have 'python' are broken, not PEP > > compliant. And a bug

Re: INSTALL.adoc

2025-04-02 Thread Gary E. Miller via devel
Yo Hal! On Tue, 01 Apr 2025 23:41:14 -0700 Hal Murray wrote: > > Change pushed. > > Thanks. > > +Alternatively you can create a link your python3 called python. > Assuming > > Looks like a "to" got lost. > create a link your > create a link to your Damn. Fixed. Thanks. > I'll punt

Re: INSTALL.adoc

2025-04-01 Thread Gary E. Miller via devel
Yo Fred! On Tue, 1 Apr 2025 16:23:10 -0700 (PDT) Fred Wright via devel wrote: > On Tue, 1 Apr 2025, Gary E. Miller via devel wrote: > > On Mon, 31 Mar 2025 20:52:30 -0700 > > Hal Murray wrote: > [...] > > Alternatively, you can create a link to you python3, ca

Re: INSTALL.adoc

2025-04-01 Thread Gary E. Miller via devel
Yo Hal! On Mon, 31 Mar 2025 20:52:30 -0700 Hal Murray wrote: > > +Alternatively you can link your python3 to python. > > +`ln -s /usr/bin/python3 /usr/bin/python` > > That "to" looks backwards to me. I expect: > link python to your python3 python3 exists, python does not. So you crea

Re: Release

2025-03-30 Thread Gary E. Miller via devel
Yo Hal! On Sun, 30 Mar 2025 20:13:17 -0700 Hal Murray wrote: > > A lot of changes in the last few days. > > Nothing has changed in the core ntpd code in a long time. But the build (waf) changed. > Many of the recent changes have been in documentation. Right, doc is not important... > > So

Re: Release

2025-03-30 Thread Gary E. Miller via devel
Yo Hal! On Sun, 30 Mar 2025 15:16:36 -0700 Hal Murray via devel wrote: > I think we are ready. A lot of changes in the last few days. Some I am not happy about. I suggest at least a week, maybe two week, quiet period for testing. RGDS GARY

Re: Anybody using the old waf?

2025-03-28 Thread Gary E. Miller via devel
Yo Hal! On Thu, 27 Mar 2025 21:41:11 -0700 Hal Murray via devel wrote: > > There are definitely systems with python3 and no python. Eg, Debian > > 12 for example. > > Some (most?) distros have a tiny package that sets up python to go to > python3. In gentoo, it is automatic. You can chang

✘issue 840 .egg-info

2025-03-20 Thread Gary E. Miller via devel
Yo All! Hal suggested that commonts on issue 840 be moved here. https://gitlab.com/NTPsec/ntpsec/-/issues/840 Hal also asked what are eggs and wheels? eggs were an archive format fot the distribution of Python package using pypi. They stopped accepting new packages in egg format almost two yea

Re: Modern languages

2025-03-18 Thread Gary E. Miller via devel
Yo James! I'm lost. Why? Did someone ask? On Tue, 18 Mar 2025 08:25:14 -0700 James Browning via devel wrote: > D and Java are supported and have waf 'Tools'. > > Rust and Golang do not have them. > > After revising devel/hacking.adoc, someone would need to write the > tools. > > After that

Re: new waf vs PYTHONDIR

2025-03-18 Thread Gary E. Miller via devel
Yo Hal! On Tue, 18 Mar 2025 01:28:17 -0700 Hal Murray via devel wrote: > I don't use PYTHONPATH > > The old waf used to install python libraries in /usr/local/lib64/ > The new waf now installs things in /usr/loca/lib/ > > Is that a bug or feature? I think it is a bug, but that is this years f

Re: new waf vs PYTHONDIR

2025-03-18 Thread Gary E. Miller via devel
Yo James! On Tue, 18 Mar 2025 14:21:57 -0700 James Browning via devel wrote: > On Mar 18, 2025 13:44, Hal Murray via devel wrote: > > I tried to bisect the git.  No luck.  The issue depends on which > > Python I am running. > > commit e899c2ffd4243e933150f2349874e4e462657c54 > Author: James Br

Re: new waf vs PYTHONDIR

2025-03-18 Thread Gary E. Miller via devel
Yo Hal! On Tue, 18 Mar 2025 15:03:34 -0700 Hal Murray wrote: > >> Is that a bug or feature? > > I think it is a bug, but that is this years fashion. > > Do we fix it, or document it? Sadly every distro is different. And the distros are changing rapidly due to pressure from Pottering. No

Re: new waf vs PYTHONDIR

2025-03-18 Thread Gary E. Miller via devel
Yo Hal! On Tue, 18 Mar 2025 13:44:46 -0700 Hal Murray wrote: > > I tried to bisect the git. No luck. The issue depends on which > > Python I am running. > > commit e899c2ffd4243e933150f2349874e4e462657c54 > Author: James Browning > Date: Thu Mar 13 02:06:11 2025 -0700 > > Use waf 2.

Re: new waf vs PYTHONDIR

2025-03-18 Thread Gary E. Miller via devel
Yo Hal! On Tue, 18 Mar 2025 01:59:54 -0700 Hal Murray via devel wrote: > There is also dist-packages vs site-packages on Debian > > The old waf used dist-packages > The new waf uses site-packages (like Fedora) dist-packages is for system (distribution) unstalled packages site-packages is for u

Re: new waf vs PYTHONDIR

2025-03-18 Thread Gary E. Miller via devel
Yo Hal! I tried to bisect the git. No luck. The issue depends on which Python I am running. RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588

Re: Modern languages

2025-03-15 Thread Gary E. Miller via devel
Yo Hal! On Sat, 15 Mar 2025 16:34:07 -0700 Hal Murray wrote: > g...@rellim.com said: > > I agree, way too much work. I would leave OS compat #ifdefs as > > they are. Partly because testing an alternative would be a pain. A > > few things could be combined using POSIX. > > My comment about

Re: Modern languages

2025-03-15 Thread Gary E. Miller via devel
Yo Hal! On Sat, 15 Mar 2025 09:53:55 -0700 Hal Murray wrote: > I agree that the current DEBUG stuff needs fixing. Fixing? To start, I would just remove all the #ifdef DEBUG. Not this cycle... > I think we can get around the droproot type problems by having a > module for each environment and

Re: Man page formatting quirk

2025-03-15 Thread Gary E. Miller via devel
Yo Hal! On Fri, 14 Mar 2025 15:16:44 -0700 Hal Murray via devel wrote: > I added a few RFCs to the ntpd man page. > > The code looks like this: > RFC 8915:: ^^ Starts a list. RGDS GARY --- Gary E. Miller Rellim

Re: Man page formatting quirk

2025-03-15 Thread Gary E. Miller via devel
Yo Hal! On Fri, 14 Mar 2025 15:45:14 -0700 Hal Murray wrote: > >> RFC 8915:: > > ^^ > > Starts a list. > > Most of the others that also use :: come out looking OK. That does not make them correct. > The next > line on them starts with "David" instead of "D." and they don't get >

Re: Modern languages

2025-03-14 Thread Gary E. Miller via devel
Yo Hal! On Fri, 14 Mar 2025 13:58:36 -0700 Hal Murray via devel wrote: > Gary said (in a gitlab discussion): > > We need to get rid of most #ifdef. Newer languages don't support > > it, and it leads to binaries that behave differently. DEBUG should > > be the first to go. > > How do they c

Re: Is it time to --enable-warnings?

2025-02-10 Thread Gary E. Miller via devel
Yo Hal! On Sat, 08 Feb 2025 21:55:17 -0800 Hal Murray via devel wrote: > waf configure --help says: > --enable-warnings Enable annoying CC warnings > > Are they really annoying? My normal build script turns it on without > problems. Ditto for me. > What does gitlab do with warnings?

Re: Crazy(?) thought on Python discussion

2025-02-06 Thread Gary E. Miller via devel
Yo Hal! On Thu, 06 Feb 2025 02:12:05 -0800 Hal Murray via devel wrote: > Is this the right time to convert all our python code to go? > > (That's post release) https://www.tiobe.com/tiobe-index/ Python is still the #1 popular language on the TIOBE indec. Go is #7. Also" Go updates are a pa

Re: recvmsg() length report

2025-02-04 Thread Gary E. Miller via devel
Yo Hal! On Tue, 04 Feb 2025 17:32:31 -0800 Hal Murray via devel wrote: > > As Alice would say, "curiouser and curiouser". Just when I think > > I've figured out the reason for one bit of bizarreness, you find > > another. :-) > > I think the current code works on all my systems. That's a s

Re: Catching up

2025-02-04 Thread Gary E. Miller via devel
Yo Fred! On Tue, 4 Feb 2025 14:55:30 -0800 (PST) Fred Wright via devel wrote: > If you refactor the > underlying code to conform to the Python 3 philosophy of treating > text and binary data as different data types, then you have code that > works in Python 3 *and Python 2* without the wrappers.

Re: cross armhf tangle

2025-02-04 Thread Gary E. Miller via devel
Yo Hal! On Tue, 04 Feb 2025 01:04:55 -0800 Hal Murray wrote: > I don't have a cross build setup working yet. And when you do, keeping it running is even harder. > It looks to me like the CI stuff uses the same headers from > /usr/include/. Looking in the header files, they are doing a lot of >

Re: cross armhf tangle

2025-02-04 Thread Gary E. Miller via devel
Yo Hal! On Tue, 04 Feb 2025 00:40:57 -0800 Hal Murray wrote: > >> It didn't know what a struct timeval was. > > Did you set the required defines first? > > I don't think I have to set anything. At least on gentoo you do. Because you bypassed the #defines in time.h that are set by --march

Re: Catching up

2025-02-03 Thread Gary E. Miller via devel
Yo Hal! On Mon, 03 Feb 2025 20:08:46 -0800 Hal Murray wrote: > > Uh, yes. I'll continue to object. It buys us nothing now, and it > > will annoy some people. Maybe later this year. > > OK. I guess I missed your previous objections. > > Have we actually made contact with anybody using py

Re: cross armhf tangle

2025-02-03 Thread Gary E. Miller via devel
Yo Hal! On Mon, 03 Feb 2025 19:59:41 -0800 Hal Murray wrote: > The current code in wafhelpers/check_sizeof.py seems to work. > > There are 2 reasons I would like to keep and understand it. One is > general curiousity. It was commited by ESR and he is usually very > good about fixing crappy c

Re: cross armhf tangle

2025-02-03 Thread Gary E. Miller via devel
Yo Hal! On Sun, 02 Feb 2025 20:40:43 -0800 Hal Murray wrote: > The unobvious part is the code in wafhelpers/check_sizeof.py that > handles the cross case for getting NTP_SIZEOF_TIME_T and friends. NTP_SIZEOF_TIME_T is in the code 5 times, in just 3 places. ./ntpd/ntp_leapsec.c:#if NTP_SIZEOF

Re: Catching up

2025-02-03 Thread Gary E. Miller via devel
Yo Hal! On Fri, 31 Jan 2025 16:14:07 -0800 Hal Murray via devel wrote: > I think we should drop support for python 2 before this release. Any > objections? Uh, yes. I'll continue to object. It buys us nothing now, and it will annoy some people. Maybe later this year. RGDS GARY ---

Re: cross armhf tangle

2025-02-03 Thread Gary E. Miller via devel
Yo Hal! On Sun, 02 Feb 2025 20:40:43 -0800 Hal Murray wrote: > The unobvious part is the code in wafhelpers/check_sizeof.py that > handles the cross case for getting NTP_SIZEOF_TIME_T and friends. The fix is to just remove that test. Just use sizeof(time_t) in the code instead of trying to fig

Re: cross armhf tangle

2025-02-03 Thread Gary E. Miller via devel
Yo Hal! On Sun, 02 Feb 2025 21:35:02 -0800 Hal Murray wrote: > >> That was my first try. It didn't work on BSD. > > Care to share what the failure was? > > It didn't know what a struct timeval was. Did you set the required defines first? Any place I can go to see the BSD man page and the

Re: cross armhf tangle

2025-02-02 Thread Gary E. Miller via devel
Yo Hal! On Sun, 02 Feb 2025 01:29:22 -0800 Hal Murray wrote: > There are several tangles in your response. > > >> +("sys/time.h", "struct timeval"), > > DOn't do that. Per the man page: > > That was my first try. It didn't work on BSD. Care to share what the failure was? > On

Re: cross armhf tangle

2025-02-02 Thread Gary E. Miller via devel
Yo Hal! On Sun, 02 Feb 2025 02:33:42 -0800 Hal Murray via devel wrote: > The cross compile stuff for sizeof is, well, unobvious to me. I > think I asked about it a while ago with no response. I must have missed it? What is not obvious? When you cross compile you tell the CC what the target A

Re: cross armhf tangle

2025-02-01 Thread Gary E. Miller via devel
Yo Hal! On Sat, 01 Feb 2025 17:23:55 -0800 Hal Murray via devel wrote: > Anybody understand this? Likely not. > While I was cleaning up the long long in struct timex tangle, I added > a line to wscript to document the size of struct struct timeval > sizeofs = [ > ("time.h",

Re: Anybody still using Python2?

2025-02-01 Thread Gary E. Miller via devel
Yo Richard! On Fri, 31 Jan 2025 15:59:56 -0600 Richard Laager via devel wrote: > Python 2 has been upstream EOL for 5 years. The burden here should be > on people who want to keep supporting it, not on people who want to > drop support for it. There are active Python 2 forks, like Tauthon. A lo

Re: Anybody still using Python2?

2025-01-29 Thread Gary E. Miller via devel
Yo Hal! On Tue, 28 Jan 2025 20:05:11 -0800 Hal Murray via devel wrote: > Gary said: > > And yet, we still get complaints. There are maintained Python 2.7 > > forks that some distros still use and update. > > I've seen at least one distro that had python 3 but python still went > to python 2.

Re: Anybody still using Python2?

2025-01-28 Thread Gary E. Miller via devel
Yo Hal! On Tue, 28 Jan 2025 19:16:35 -0800 Hal Murray via devel wrote: > Anybody still running Python 2 is probably not interested in anything > new like NTPsec. And yet, we still get complaints. There are maintained Python 2.7 forks that some distros still use and update. > Is it time to dro

Re: [Git][NTPsec/ntpsec][master] Coverity -- another try.

2025-01-23 Thread Gary E. Miller via devel
Yo Hal! On Thu, 23 Jan 2025 14:25:53 -0800 Hal Murray via devel wrote: > [Another exchange that got droped from @devel] > > Gary said: > > I'm not a fan of suppressing warnings. Especially one I agree > > with. > > Right. But I don't agree with this one and I consider your suggested > fix

Re: Coverity check please...

2025-01-20 Thread Gary E. Miller via devel
Yo Hal! On Mon, 20 Jan 2025 15:39:37 -0800 Hal Murray wrote: > > Still seems like a bug to me. Any potential UB is bad. Should be > > easy to work around. > > Please look at the code. It's only 10 lines. I did. > If you can suggest a fix, I'll try it. Check for the underflow/overflow b

Re: Coverity check please...

2025-01-20 Thread Gary E. Miller via devel
Yo Hal! On Sun, 19 Jan 2025 21:17:17 -0800 Hal Murray wrote: > [I fatfingered something the first try and it didn't go to the list.] > > >> That assumes it goes around the loop a couple of times. But it > >> doesn't go around the loop even once -- or I'm confused. > > Gary said: > > While i

Re: Coverity check please...

2025-01-19 Thread Gary E. Miller via devel
Yo Hal! On Sun, 19 Jan 2025 20:18:52 -0800 Hal Murray wrote: > Gary said: > > Since j is 2, andi is 3, subtracting i from j caused integer wrap, > > which is undefined. > > That assumes it goes around the loop a couple of times. But it > doesn't go around the loop even once -- or I'm confus

Re: Coverity check please...

2025-01-19 Thread Gary E. Miller via devel
Yo Hal! On Sun, 19 Jan 2025 00:32:01 -0800 Hal Murray via devel wrote: > I think it's a bug in Coverity. Would somebody please check. I agree with coverity. > Is there a way to report bugs to Coverity? Or tell it not to check > something? Not that I know of, and we would need a bug first.

Re: ftp.ntpsec.org folder for my stuff & malingering

2025-01-06 Thread Gary E. Miller via devel
Yo James! On Mon, 06 Jan 2025 07:03:15 -0800 James Browning via devel wrote: > I want a folder under > 'ftp.ntpsec.org:users'. My public key with a couple line terminators > instead of spaces is I want a unicorn. Why does "ftp" even exist any more? > I intend to use it to stage unofficial rel

Re: The server certificate for lists.ntpsec.org has expired again.

2025-01-03 Thread Gary E. Miller via devel
Yo James! On Fri, 03 Jan 2025 14:48:14 -0800 James Browning via devel wrote: > On Friday, January 3, 2025 1:50:54 PM Pacific Standard Time Gary E. > Miller via devel wrote: > > Yo Hal! > > > > On Thu, 02 Jan 2025 21:24:49 -0800 > > > > Hal Murray wro

Re: The server certificate for lists.ntpsec.org has expired again.

2025-01-03 Thread Gary E. Miller via devel
Yo Hal! On Thu, 02 Jan 2025 21:24:49 -0800 Hal Murray wrote: > devel@ntpsec.org said: > > certbot certonly --agree-tos \ > > --standalone \ > > certbot help says: > certonlyObtain or renew a certificate, but do not > install it Des apache look in the right place? Yes.

Re: The server certificate for lists.ntpsec.org has expired again.

2025-01-02 Thread Gary E. Miller via devel
Yo Hal! On Thu, 02 Jan 2025 19:36:52 -0800 Hal Murray wrote: > Gary said: > > Obvisouly something broken somewhere, but I fail to locate the > > issue. Let's Encrypt allerts me on other certs, and the security@ > > email works for other people. > > Try > certbot show_account # certbot s

Re: The server certificate for lists.ntpsec.org has expired again.

2025-01-02 Thread Gary E. Miller via devel
Yo Hal! On Thu, 02 Jan 2025 18:45:57 -0800 Hal Murray wrote: > Gary said: > > Fixed. Letsencypt is supposed to send two emails ot > > secur...@ntpsec.org before expiration, but they did not do so. > > Is the email addresss setup right? Obvisouly something broken somewhere, but I fail to lo

Re: The server certificate for lists.ntpsec.org has expired again.

2025-01-02 Thread Gary E. Miller via devel
Yo James! On Thu, 02 Jan 2025 03:41:23 -0800 James Browning via devel wrote: > I think a periodic soon before expiry check should be scheduled. Fixed. Letsencypt is supposed to send two emails ot secur...@ntpsec.org before expiration, but they did not do so. The automatic update sript failed

Re: ntpsec | ntp_packetstamp: Fix possible time_t size mismatch. (!1414)

2024-12-29 Thread Gary E. Miller via devel
Yo Fred! On Tue, 24 Dec 2024 17:22:42 -0800 (PST) Fred Wright via devel wrote: > > Sorry, I should have read closer, if you are just looking at the > > on the wire NTP packet then my comments are not on point. I though > > the NTP packets were fixed by RFC? > > No, this has nothing to do wit

Re: ntpsec | ntp_packetstamp: Fix possible time_t size mismatch. (!1414)

2024-12-24 Thread Gary E. Miller via devel
Yo Fred! On Tue, 24 Dec 2024 15:21:14 -0800 (PST) Fred Wright via devel wrote: > On Tue, 24 Dec 2024, Gary E. Miller (@garyedmundsmiller) wrote: > > Gary E_ Miller > > commented: > > https://gitlab.com/NTPsec/ntpsec/-/merge_requests/1414#note_2273464732 > > > > > > I don't know about OSX, but t

Re: [Git][NTPsec/ntpsec][master] ntpclients/ntpviz.py: Better comment skewness and kurtosis in code.

2024-12-13 Thread Gary E. Miller via devel
Yo Matt! On Fri, 13 Dec 2024 05:46:32 + Matt Selsky via devel wrote: > math.isfinite() was added in Python 3.2 > per https://docs.python.org/3/library/math.html. > Should we use math.isinf() instead in order to retain Python 2 > compatibility until we decide to drop that? Good catch! My ba

✘ invalid escape sequence '\S'

2024-09-30 Thread Gary E. Miller via devel
Yo All! I'm now getting a lot of this when building git head: [405/460] Compiling build/main/pylib/__pycache__/agentx_packet.cpython-312.pyo :1: SyntaxWarning: invalid escape sequence '\S' :1: SyntaxWarning: invalid escape sequence '\S' Ideas? RGDS GARY -

Re: CI: The "cross-build" job doesn't have EVP_MD_CTX_new

2024-09-08 Thread Gary E. Miller via devel
Yo Hal! On Sat, 07 Sep 2024 17:43:32 -0700 Hal Murray via devel wrote: > James said: > >It is one of many jobs set up to fail withou fanfare. Nobody was > >checking up on them on the pipelines tab at GitLab. > > Why do we have those jobs? To test commits that they don't break the bu

Re: CI: The "cross-build" job doesn't have EVP_MD_CTX_new()

2024-09-07 Thread Gary E. Miller via devel
Yo James! On Sat, 07 Sep 2024 10:14:57 -0700 James Browning via devel wrote: > The Ubuntu 16 04 "cross-build" job is busted and I have no idea how > to fix it. I thought one idea behind the "build-cross-armhf" job was > that "cross-build" would have gone away. I have no idea about Ubuntu or cro

Re: testing performance

2024-08-06 Thread Gary E. Miller via devel
Yo Hal! On Tue, 06 Aug 2024 17:48:11 -0700 Hal Murray via devel wrote: > [From https://gitlab.com/NTPsec/ntpsec/-/merge_requests/1399] > > Gary said: > > > But I agree with you that howto run non-root needs to be > > documented, and I would also like tests in ntpd to verify the > > needed CAPS

Re: PPS on Raspberry Pi

2024-06-26 Thread Gary E. Miller via devel
Yo Hal! On Wed, 26 Jun 2024 20:32:19 -0700 Hal Murray via devel wrote: > I'm trying to setup a Pi with a GPS hat. > > > > The Microserver HOWTO says: > > {--config} Edit /boot/config.txt and add these lines to the end of > the file, replacing 4 with the logical pin number for your HAT if > i

Re: Hack for monitoring NTP servers

2024-04-12 Thread Gary E. Miller via devel
Yo Richard! On Fri, 12 Apr 2024 14:12:41 -0500 Richard Laager via devel wrote: > On 2024-04-11 14:39, Hal Murray via devel wrote: > > If somebody feels like hacking, something like this should be fun. > > > > The idea is to setup a ntpd server watching the servers you want to > > monitor. (nose

Re: Any Coverity wizards?

2023-12-06 Thread Gary E. Miller via devel
Yo Hal! On Tue, 05 Dec 2023 20:40:46 -0800 Hal Murray via devel wrote: > I expect the comment on the previous line to tell Coverity to not > complain about this case. > > Is there a typo or such that I'm missing? > > 149/* coverity[checked_return] */ > CID 462307 (#1 of 1): Unchecked

Re: Release

2023-12-03 Thread Gary E. Miller via devel
Yo Hal! On Sun, 03 Dec 2023 17:44:45 -0800 Hal Murray via devel wrote: > Gary said: > > DO you have an account on: https://scan.coverity.com/ > > If so, I think I can add you to the project. > > How does their stuff work? How often do they check NTPsec? > Or what should I be asking? Ever

Re: Release

2023-12-03 Thread Gary E. Miller via devel
Yo Hal! On Sun, 03 Dec 2023 15:07:18 -0800 Hal Murray via devel wrote: > > Gary said: > > > Uh, not quite. Check the Coverity stuff. > > > > How do I do that? > > DO you have an account on: https://scan.coverity.com/ On further checking,halmurray...@sonic.net is an admin on the

Re: Release

2023-12-03 Thread Gary E. Miller via devel
Yo Hal! On Sun, 03 Dec 2023 15:07:18 -0800 Hal Murray via devel wrote: > Gary said: > > Uh, not quite. Check the Coverity stuff. > > How do I do that? DO you have an account on: https://scan.coverity.com/ If so, I think I can add you to the project. RGDS GARY -

Re: Release

2023-12-03 Thread Gary E. Miller via devel
Yo James! On Sat, 2 Dec 2023 21:12:04 -0800 (PST) James Browning via devel wrote: > 4. The buildbots are not reporting any unplanned regressions; there > are always issues to be addressed. Uh, not quite. Check the Coverity stuff. RGDS GARY -

Re: What's magic about /tmp/? ntpd can't find UNIX socket

2023-10-19 Thread Gary E. Miller via devel
Yo Hal! On Thu, 19 Oct 2023 17:45:43 -0700 Hal Murray via devel wrote: > Found it. systemd sets up separate /tmp for some services. Yeah, systemd(umb) is your problem... RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmingt

Re: What's magic about /tmp/? ntpd can't find UNIX socket

2023-10-19 Thread Gary E. Miller via devel
Yo Hal! On Thu, 19 Oct 2023 14:27:56 -0700 Hal Murray wrote: > Gary said: > > Notice the "nodev"? > > From "man chmod": > >nodev > >Do not interpret character or block special devices on > > the filesystem. > > It works fine from my test program. What's different about n

Re: What's magic about /tmp/? ntpd can't find UNIX socket

2023-10-19 Thread Gary E. Miller via devel
Yo Hal! On Thu, 19 Oct 2023 13:42:08 -0700 Hal Murray wrote: > devel@ntpsec.org said: > > Can you provide: > > ~ $ ls -ld /tmp drwxrwxrwt 12 root root 580 Oct 19 11:00 /tmp > > Changing the owner to ntp didn't make any difference. Nor would I expect it to. > > And: > > ~ $ mount | fgrep /t

Re: What's magic about /tmp/? ntpd can't find UNIX socket

2023-10-19 Thread Gary E. Miller via devel
Yo Hal! On Wed, 18 Oct 2023 21:37:06 -0700 Hal Murray via devel wrote: > What's magic about ntpd and /tmp/? Many things. Can you provide: ~ $ ls -ld /tmp drwxrwxrwt 12 root root 580 Oct 19 11:00 /tmp And: ~ $ mount | fgrep /tmp tmpfs on /tmp type tmpfs (rw,nosuid,relatime,size=2097152k)

Re: Go GC

2023-09-12 Thread Gary E. Miller via devel
Yo Hal! On Tue, 12 Sep 2023 18:49:35 -0700 Hal Murray via devel wrote: > I think it's worth some effort to investigate this area. I'm > prepared to give up if we find a fatal problem. Again, I'm assuming > that we split ntpd into client and server parts so all we have to > work on is the serve

Re: Go GC

2023-09-12 Thread Gary E. Miller via devel
Yo Hal! On Tue, 12 Sep 2023 16:55:12 -0700 Hal Murray via devel wrote: > Gary said: > >James Browning via devel wrote: > >> It would appear there is a way to turn off GC under runtime/, > > How? Link? > > https://pkg.go.dev/runtime/debug#SetGCPercent > > It's not clear to me how to ta

Re: Is python2 dead?

2023-09-12 Thread Gary E. Miller via devel
Yo Hal! On Tue, 12 Sep 2023 00:00:47 -0700 Hal Murray via devel wrote: > Gary said: > > Please, no. Go is a garbage collected language. Just what NTPsec > > does not need, random, unpredictable delays. > > I was thinking of the Python code in ntpclients/ and pylib/ > Is there anything in t

Re: Is python2 dead?

2023-09-12 Thread Gary E. Miller via devel
Yo James! On Tue, 12 Sep 2023 06:46:38 -0700 (PDT) James Browning via devel wrote: > > On 09/12/2023 12:00 AM PDT Hal Murray via devel > > wrote: > > > > > > Gary said: > > > Please, no. Go is a garbage collected language. Just what > > > NTPsec does not need, random, unpredictable delay

Re: Is python2 dead?

2023-09-11 Thread Gary E. Miller via devel
Yo Hal! On Mon, 11 Sep 2023 22:03:45 -0700 Hal Murray via devel wrote: > Maybe it's time to switch to Go? Please, no. Go is a garbage collected language. Just what NTPsec does not need, random, unpredictable delays. RGDS GARY --

Re: Is python2 dead?

2023-09-04 Thread Gary E. Miller via devel
Yo Richard! On Mon, 4 Sep 2023 19:24:22 -0500 Richard Laager via devel wrote: > Dropping support for Python 2 should allow for dropping most of the > poly infrastructure. That code (pylib/poly.py) involves some > contortions (see also [1]) to make it possible to run on both Python > 2 and Python

Re: Is python2 dead?

2023-09-04 Thread Gary E. Miller via devel
Yo Matthew! On Mon, 4 Sep 2023 21:46:50 + Matthew Selsky wrote: > Is the implication that we can safely drop python2 support after June > 2024? Maybe. RHEL, and friends, are the last to drop things. Worse, people that use RHEL, and friends, seem to never update their systems... > Are the

Re: Is python2 dead?

2023-09-04 Thread Gary E. Miller via devel
Yo James! On Mon, 04 Sep 2023 15:38:26 -0700 James Browning via devel wrote: > > By dropping 2.7 we could probably assume secrets which simplifies > > ntpkeygen, simplify ntp.poly, be able to drop the now oldoldstable? > > runner testing for asciidoc on python 2 support, and also have the > > op

Re: Is python2 dead?

2023-09-04 Thread Gary E. Miller via devel
Yo Hal! On Mon, 04 Sep 2023 15:46:45 -0700 Hal Murray via devel wrote: > > Rumours of its death are greatly exagerated. > > Thanks. > > Let me try again with maybe closer to what I should have asked? > > Are there any distros that we currently run on that don't support > python 3? RHEL. >

Re: Is python2 dead?

2023-09-04 Thread Gary E. Miller via devel
Yo Hal! On Mon, 04 Sep 2023 14:15:26 -0700 Hal Murray via devel wrote: > Really really dead? Or maybe just hiding in some dark corner? Rumours of its death are greatly exagerated. > Should we drop support for python2 as part of the next release? > Or announce in the next release that we will

Re: Old email on gitlab

2023-07-23 Thread Gary E. Miller via devel
Yo Hal! On Sun, 23 Jul 2023 18:13:36 -0700 Hal Murray via devel wrote: > Author: Hal Murray [...] > I haven't used that email in ages. My profile has been updated. It is in you local git config. > Where is the other address stored and how do I fix it? Here is how I change it: git config -

  1   2   3   4   5   6   7   8   9   10   >