Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645764 - sys-auth/nss-mdns-0.13 should not install /etc/mdns.allow by default
Summary: sys-auth/nss-mdns-0.13 should not install /etc/mdns.allow by default
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-25 20:17 UTC by Adam Goode
Modified: 2018-07-21 00:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Goode 2018-01-25 20:17:25 UTC
The new release of nss-mdns 0.11 implements the important heuristics of disabling itself if there is an authoritative unicast DNS SOA response for .local, or if the request has more than two labels (like "X.Y.local").

These heuristics are disabled if /etc/mdns.allow is found. Gentoo should probably not install this file by default anymore, and remove it if the old config file was never changed after installation.

If this is not possible, we could change nss-mdns to support this functionality in another way, but hopefully this is not necessary.

See https://github.com/lathiat/nss-mdns#documentation (search for "SOA" on that page).

Reproducible: Always
Comment 1 Adam Goode 2018-07-21 00:46:06 UTC
You probably want to also update the pkg_postinst message to talk about the new functionality and recommend that users do not create the /etc/mdns.allow file.

Note also that the file is completely ignored (and the heuristics always active) with the _minimal variants.