ntpq vs Python 3.8

2020-05-25 Thread Hal Murray via devel
Fedora is updating from Python 3.7 to 3.8. That breaks ntpq (and friends) because the installed ntp libraries are over in 3.7 but ntpq is looking in 3.8 Is there a good/clean fix for this? Should the code that chops the ".py? off the name also fixup the first line of the script to replace "pyt

Re: ntpq vs Python 3.8

2020-05-25 Thread Gary E. Miller via devel
Yo Hal! On Mon, 25 May 2020 15:31:42 -0700 Hal Murray via devel wrote: > Fedora is updating from Python 3.7 to 3.8. Gentoo has remove 2.7 and moved from 3.6 yo 3.7 to 3.8 quickly. What a PITA. > That breaks ntpq (and friends) because the installed ntp libraries > are over in 3.7 but ntpq is

Re: ntpq vs Python 3.8

2020-05-25 Thread James Browning via devel
On Mon, May 25, 2020, at 3:31 PM Hal Murray via devel wrote: > > Fedora is updating from Python 3.7 to 3.8. > > That breaks ntpq (and friends) because the installed ntp libraries are over > in 3.7 but ntpq is looking in 3.8 > > Is there a good/clean fix for this? Should the code that chops the "

Re: ntpq vs Python 3.8

2020-05-25 Thread Udo van den Heuvel via devel
On 26-05-2020 00:31, Hal Murray via devel wrote: > Fedora is updating from Python 3.7 to 3.8. > > That breaks ntpq (and friends) because the installed ntp libraries are over > in 3.7 but ntpq is looking in 3.8 > > Is there a good/clean fix for this? Should the code that chops the ".py? off > t

Seccomp tangle

2020-05-25 Thread Hal Murray via devel
I've been experimenting with some code to allow custom scccomp lists. The idea is to replace the --enable-seccomp configure option with --enable-seccomp=foo and ntp_sandbox would include syscomp/foo.c which would be a list of syscalls used by this system. I assume we would maintain a list fo