Project

General

Profile

Actions

Bug #7281

open

mdnsd needs to try harder to send goodbye requests

Added by Andrew Stormont almost 6 years ago. Updated almost 6 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-08-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Disabling mdns can result in ghost entries remaining in the caches of clients. This is because although SMF stops services in the correct order (dependents go down first, then mdns gets sent SIGTERM) mdnsd is quick to break out of its MainLoop. Because mdns is breaking out of its MainLoop the very instant it receives SIGTERM it does not have a chance to process any goodbye requests that might have come in from the dependent services as they exited. The solution in my view, is to have mdnsd have one last go and processing outstanding requests before exiting.

Actions

Also available in: Atom PDF