Control panel sends auto update requests, not manual ones?


#1

If I manually request a piaware action from the FA control panel, it comes through as an auto update:



< action        restart_piaware clock   1419888540      type    request_auto_update
12/29/2014 21:29:12 auto update (flightaware-initiated) requested by adept server
> clock 1419888552      mac     xx       message auto update (flightaware-initiated) requested by adept server   type    log     user    obj
12/29/2014 21:29:12 autoUpdate is not configured in /etc/piaware or by piaware-config
> clock 1419888552      mac     xx       message autoUpdate is not configured in /etc/piaware or by piaware-config       type    log     user    obj


Shouldn’t this be a manual update, not an auto update?
Also, why is the adept server sending auto updates when it knows from the initial handshake that they’re configured to be refused (local_auto_update_enable = 0)?

Finally, 12 seconds of clock skew? :slight_smile:


#2
  1. You are correct. It should be sending manual update. We will fix this.

  2. Yeah, the whole point of having the manual and auto update configuration be communicated at box login time was to be smart about telling someone no you can’t update your box through the webpage because your box isn’t configured to allow it rather than have it go ok I successfully sent the message and then have it fail. Likewise we should check that flag in the software. We will fix this.

  3. Thank you, thank you… ntpd was misconfigured on the server. We fixed this. Also I am looking at why our monitoring didn’t detect that.

Thanks for keeping us on our toes, obj!