Ticket #63 (accepted defect)

Opened 2 months ago

Last modified 2 months ago

Improve robustness of handling broken apt-zeroconf hosts (and blank package lists)

Reported by: philip.peitsch@… Owned by: fpletz
Priority: major Milestone: apt-zeroconf 0.5
Component: apt-zeroconf Keywords:
Cc:

Description

I had a situation in a network where one of the apt-zeroconf hosts was incorrectly firewalled in such a way as to allow its broadcast packets out, but was unwilling to accept connections from any external machines. As a result, when apt-zeroconf on any other machines queried the firewalled machine, they received a blank package list causing the "data" dictionary to be blank (i.e., no pkglist key). This causes apt-zeroconf to fail installing packages on all other machines as everytime it tries to retrieve a file, the retrieval fails due to the pkglist key not existing. This affects the avaphi.py package around line 247.

Ideally, apt-zeroconf should gracefully ignore any host that does not provide it with a valid list of packages available.

Attachments

Change History

Changed 2 months ago by fpletz

  • status changed from new to accepted
  • milestone set to apt-zeroconf 0.5

Add/Change #63 (Improve robustness of handling broken apt-zeroconf hosts (and blank package lists))

Author



Change Properties
Action
as accepted
The ticket will be disowned. Next status will be 'new'
The owner will change to anonymous. Next status will be 'started'
as The resolution will be set. Next status will be 'closed'
Next status will be 'infoneeded'
to The owner will change. Next status will be 'assigned'
The owner will change to anonymous. Next status will be 'accepted'
 
Note: See TracTickets for help on using tickets.