[avahi] Add plugin for the Avahi mDNS/DNS-SD stack - #4427
Open
suraj-cmd wants to merge 1 commit into
Open
Conversation
Avahi is installed by default on Fedora, RHEL, Debian and Ubuntu, but sos has no plugin for it and no other plugin references it. Neither its configuration nor the services it advertises reach an sosreport, which matters when .local name resolution or multicast service discovery is misbehaving. Paths are taken from upstream. avahi-daemon/Makefile.am defines the configuration file as $(pkgsysconfdir)/avahi-daemon.conf and the service directory as $(pkgsysconfdir)/services, and static-hosts.c reads AVAHI_CONFIG_DIR "/hosts". Unit names come from the shipped units: avahi-daemon.service, which requires avahi-daemon.socket, and avahi-dnsconfd.service. "avahi-browse --all --terminate --resolve" records what the host can see on the link at collection time, and "avahi-daemon --check" reports whether a daemon is already running. The daemon holds no credentials, so no forbidden paths or postproc handling are needed. Signed-off-by: Suraj Patil <surajpatil522@gmail.com>
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Avahi is installed by default on Fedora, RHEL, Debian and Ubuntu, but sos has
no plugin for it and no other plugin references it. Neither its configuration
nor the services it advertises reach an sosreport, which matters when
.localname resolution or multicast service discovery is misbehaving.
Paths are taken from upstream.
avahi-daemon/Makefile.amdefines theconfiguration file as
$(pkgsysconfdir)/avahi-daemon.confand the servicedirectory as
$(pkgsysconfdir)/services, andstatic-hosts.creadsAVAHI_CONFIG_DIR "/hosts".Unit names come from the shipped units:
avahi-daemon.service, which requiresavahi-daemon.socket, andavahi-dnsconfd.service.avahi-browse --all --terminate --resolverecords what the host can see on thelink at collection time, and
avahi-daemon --checkreports whether a daemon isalready running.
The daemon holds no credentials, so no forbidden paths or postproc handling are
needed.
Paths and unit names are taken from upstream rather than a running system.
avahi-browse --all --terminate --resolveproduces network traffic atcollection time — if maintainers would prefer that behind
--all-logsor aplugin option rather than run by default, I am happy to move it.
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines