Re: Fwd: discrete units

2021-01-21 Thread Hal Murray via devel
James Browning said: > Create the log with a date suffix and link ntp.log to it or something? > There's code for that there I think... The code for loopstats and similar works that way. ntpd.log doesn't. If you don't have a CMOS clock (or it is wrong, for example because the battery is dead)

Fwd: discrete units

2021-01-21 Thread James Browning via devel
On Wed, Jan 20, 2021, 12:17 PM Hal Murray via devel wrote: > > James Browning said: > > The permissions required by NTPsec are a mess partly because it is not a > do > > one thing well daemon. Instead, you have the Lernean Hydra, which has too > > many heads and gaining more. > > I don't get it.

Re: discrete units

2021-01-20 Thread Richard Laager via devel
On 1/20/21 4:24 PM, Hal Murray via devel wrote: If you split the file it's a flag day for all users (no small matter when the uservase is as conservative and risk-averse as ntpd's) We should be able to write a script to do the splitting. It's a concern even beyond risk-aversion. My producti

Re: discrete units

2021-01-20 Thread Hal Murray via devel
e...@thyrsus.com said: > OTOH, if you don't split the file you lose some of the simplification you > might have collected, as both pices have to carry the same parser and > generate errors when ry're fed a piece of configuration that's not theirs to > handle. If you split the config file, there

Re: discrete units

2021-01-20 Thread Eric S. Raymond via devel
Hal Murray via devel : > > Gary said: > > I think he is referring to reecent proposals to split ntpd up into multiple > > daemons. Daemons for the core, NTS, clients, etc. Each doing a small job. > > Rather than the one big daemon we have now. > > That sort of split looks good on paper, but I'

Re: discrete units (header files)

2021-01-20 Thread Hal Murray via devel
Gary said: >> I'd be happy to split the big header files, ntp.h and ntpd.h, into >> chunks corresponding to a more modular structure. > It made sense when using floppy disks to make .h files small. BUt now I find > it much easier to have large files. So I dont have to 20 keep jumping from > fil

Re: discrete units

2021-01-20 Thread Hal Murray via devel
Gary said: > I think he is referring to reecent proposals to split ntpd up into multiple > daemons. Daemons for the core, NTS, clients, etc. Each doing a small job. > Rather than the one big daemon we have now. That sort of split looks good on paper, but I'm not sure how well it would work o

Re: discrete units

2021-01-20 Thread Hal Murray via devel
James Browning said: > The permissions required by NTPsec are a mess partly because it is not a do > one thing well daemon. Instead, you have the Lernean Hydra, which has too > many heads and gaining more. I don't get it. Could you please say more? ntpd needs file permissions for all the file

Re: discrete units

2021-01-18 Thread Gary E. Miller via devel
t; > > I think NTPsec should be completely rewritten as discrete > > > > units. > > > > > > What does that mean? > > > > I think he is referring to reecent proposals to split ntpd up into > > multiple daemons. Daemons for the core, NTS, clien

Re: discrete units

2021-01-18 Thread James Browning via devel
On Mon, Jan 18, 2021, at 5:03 PM Gary E. Miller via devel wrote: > On Mon, 18 Jan 2021 16:58:11 -0800 > Hal Murray via devel wrote: > > > James said: > > > I think NTPsec should be completely rewritten as discrete units. > > > > What does that mean? &g

Re: discrete units

2021-01-18 Thread Gary E. Miller via devel
Yo Hal! On Mon, 18 Jan 2021 16:58:11 -0800 Hal Murray via devel wrote: > James said: > > I think NTPsec should be completely rewritten as discrete units. > > What does that mean? I think he is referring to reecent proposals to split ntpd up into multiple daemons. Daemons fo

discrete units

2021-01-18 Thread Hal Murray via devel
James said: > I think NTPsec should be completely rewritten as discrete units. What does that mean? I'd be happy to split the big header files, ntp.h and ntpd.h, into chunks corresponding to a more modular structure. -- These are my opinions. I h