Common tasks for avahi.