I maintain some open source code myself, so I appreciate that code can have vulnerabilities, and that this is the work of (semi) volunteers.

I also appreciate that sometimes there's a bit of a DIY element to maintaining systems.

However, I really have to question to logic of marking the 4.2.8 release as stable and apparently abandoning the 4.2.6 code tree.

Because
- 4.2.6 is now known to be broken. Normally a developer would give some fair notice that 4.2.6 was no longer going to be supported, and give people time to move to 4.2.7 or 4.2.8. OK one day old code will be broken, but please don't leave it broken on the day you deprecate it. - 4.2.7 is also still apparently broken for 1 of the 4 major vulnerabilities if I read the notice correctly. So there's apparently no point in moving to that. - 4.2.8 doesn't even compile on my systems, so how can it be a stable release?

Sorry, it is with regret that I'm going to have to pull my small contribution to the pool (via firewall rules) until this is fixed.

I run two stratum 1 servers (with DCF 77 and GPS reference clocks for diversity) and I thought contributing to the pool was a "good thing", but not at the cost of my own operations.






---- debug info below ----

Ubuntu 10.4 -> Server LTS no package available.

4.2.8 MD5 6972a626be6150db8cfbd0b63d8719e7  ntp-4.2.8.tar.gz

sudo service ntp start
* Starting NTP server ntpd /usr/sbin/ntpd: The 'user' option has been disabled. -- built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs
ntpd - NTP daemon program - Ver. 4.2.8
Usage:  ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
        [ <server1> ... <serverN> ]
Try 'ntpd --help' for more information

Does not compile with the --enable-linuxcaps option so I have to kludge my config file as the user option is no longer supported

 ntpd --version
ntpd [email protected] Sun Dec 21 13:36:58 UTC 2014 (1)



Here's the compile error after

./configure --enable-linuxcaps
make

.......

refclock_acts.c: In function acts_message:
refclock_acts.c:414: warning: ignoring return value of write, declared with attribute warn_unused_result
refclock_acts.c: In function acts_timeout:
refclock_acts.c:553: warning: ignoring return value of write, declared with attribute warn_unused_result
  CC     refclock_arbiter.o
refclock_arbiter.c: In function arb_start:
refclock_arbiter.c:203: warning: ignoring return value of write, declared with attribute warn_unused_result
refclock_arbiter.c: In function arb_receive:
refclock_arbiter.c:288: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:295: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:297: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:302: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:308: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:314: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:325: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:354: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:404: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:410: warning: ignoring return value of write, declared with attribute warn_unused_result refclock_arbiter.c:428: warning: ignoring return value of write, declared with attribute warn_unused_result
  CC     refclock_arc.o
  CC     refclock_as2201.o
refclock_as2201.c: In function as2201_receive:
refclock_as2201.c:343: warning: ignoring return value of write, declared with attribute warn_unused_result
  CC     refclock_atom.o
  CC     refclock_bancomm.o
  CC     refclock_chronolog.o
  CC     refclock_chu.o
refclock_chu.c: In function chu_burst:
refclock_chu.c:1271: warning: assuming signed overflow does not occur when simplifying conditional to constant
  CC     refclock_conf.o
  CC     refclock_datum.o
  CC     refclock_dumbclock.o
  CC     refclock_fg.o
  CC     refclock_gpsdjson.o
refclock_gpsdjson.c: In function process_tpv:
refclock_gpsdjson.c:857: warning: declaration of log2 shadows a global declaration
/usr/include/bits/mathcalls.h:145: warning: shadowed declaration is here
  CC     refclock_gpsvme.o
  CC     refclock_heath.o
  CC     refclock_hopfser.o
  CC     refclock_hopfpci.o
  CC     refclock_hpgps.o
  CC     refclock_irig.o
  CC     refclock_jjy.o
  CC     refclock_jupiter.o
  CC     refclock_leitch.o
  CC     refclock_local.o
  CC     refclock_mx4200.o
  CC     refclock_neoclock4x.o
  CC     refclock_nmea.o
refclock_nmea.c: In function eval_gps_time:
refclock_nmea.c:1782: warning: declaration of recv shadows a global declaration
/usr/include/bits/socket2.h:35: warning: shadowed declaration is here
  CC     refclock_oncore.o
  CC     refclock_palisade.o
refclock_palisade.c: In function HW_poll:
refclock_palisade.c:1157: warning: ignoring return value of write, declared with attribute warn_unused_result
  CC     refclock_parse.o
  CC     refclock_pcf.o
  CC     refclock_pst.o
  CC     refclock_ripencc.o
  CC     refclock_shm.o
  CC     refclock_tpro.o
  CC     refclock_true.o
  CC     refclock_tt560.o
  CC     refclock_ulink.o
  CC     refclock_wwv.o
  CC     refclock_wwvb.o
  CC     refclock_zyfer.o
  CC     refclock_tsyncpci.o
  AR     libntpd.a
  CC     ntp_config.o
  CC     ntp_io.o
  CC     ntp_parser.o
ntp_parser.y: In function yyparse:
../../ntpd/ntp_parser.c:1914: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 ../../ntpd/ntp_parser.c:1914: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 ../../ntpd/ntp_parser.c:1914: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2
  CC     ntp_scanner.o
  CC     ntpd.o
ntpd.c:108:29: error: sys/capability.h: No such file or directory
ntpd.c: In function ntpdmain:
ntpd.c:970: error: cap_t undeclared (first use in this function)
ntpd.c:970: error: (Each undeclared identifier is reported only once
ntpd.c:970: error: for each function it appears in.)
ntpd.c:970: error: expected ; before caps
ntpd.c:976: error: caps undeclared (first use in this function)
ntpd.c:976: warning: implicit declaration of function cap_from_text
ntpd.c:983: warning: implicit declaration of function cap_set_proc
ntpd.c:988: warning: implicit declaration of function cap_free
make[3]: *** [ntpd.o] Error 1
make[3]: Leaving directory `/home/xxx/ntp-build-4.2.8/ntp-4.2.8/ntpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/xxx/ntp-build-4.2.8/ntp-4.2.8/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xxx/ntp-build-4.2.8/ntp-4.2.8'
make: *** [all] Error 2


$ uname -a
Linux XXXXXX 2.6.32-70-generic #137-Ubuntu SMP Tue Dec 9 11:49:12 UTC 2014 x86_64 GNU/Linux

~/ntp-build-4.2.8$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




Compiling on a Raspberry Pi

4.2.8 MD5 6972a626be6150db8cfbd0b63d8719e7  ntp-4.2.8.tar.gz

uname -a
Linux raspberrypi1 3.12.33+ #722 PREEMPT Sat Nov 22 12:03:51 GMT 2014 armv6l GNU/Li

Gave up due to too many errors so I've just isolated these systems for now



_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to