Avahi - Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
C C# Makefile M4 Shell Python Other
Latest commit 537371c Feb 5, 2017 @lathiat Remove default rlimit-nproc=3
By default, avahi-daemon.conf configures rlimit-nproc=3 to limit the
number of processes running to 3.  In some cases, this would prevent
avahi from starting within a container.

It is presumed this was an attempt to limit attack vectors or Denial of
Service potential of an exploited bug in Avahi.

A problem arises (avahi fails to launch) when the same UID is re-used on
the system, such as containers without UID remapping also running avahi.
In particular, setting security.privileged=true on LXD containers causes
this behavior and avahi will fail to launch in containers because the
total number of processes under the avahi UID on the system exceeds 3.

We comment out the default rlimit-nproc=3 setting from avahi-daemon.conf
and update the relevant manpage with this information. (Closes: #97)

References:
https://bugs.launchpad.net/maas/+bug/1661869
https://lists.linuxcontainers.org/pipermail/lxc-users/2016-January/010791.html
lxc/lxc#25
Permalink
Failed to load latest commit information.
avahi-autoipd avahi-autoipd: Fix incorrect usage of IFLA_RTA instead of IFA_RTA (Cl… Feb 16, 2016
avahi-client general: various smaller fixes Apr 2, 2011
avahi-common Fix warnings on musl libc Jun 18, 2016
avahi-compat-howl get rid of a lot of old svn cruft Jun 25, 2010
avahi-compat-libdns_sd trivial: fix URL posted in debug messages Jan 27, 2016
avahi-core netlink: check that the origin of the rtnetlink messages is kernel Oct 10, 2015
avahi-daemon Remove default rlimit-nproc=3 Feb 5, 2017
avahi-discover-standalone Sets the translation domain of builder Oct 10, 2015
avahi-dnsconfd systemd: syslog.target is not longer useful Sep 1, 2011
avahi-glib get rid of a lot of old svn cruft Jun 25, 2010
avahi-gobject gobject: ga_service_browser_new() should accept const gchar* Feb 18, 2011
avahi-python Sets the translation domain of builder (python) Oct 10, 2015
avahi-qt get rid of a lot of old svn cruft Jun 25, 2010
avahi-sharp build-sys: set MONO_SHARED_DIR= to avoid build env troubles on redhat… Jun 25, 2010
avahi-ui-sharp get rid of a lot of old svn cruft Jun 25, 2010
avahi-ui avahi-ui: Remove deprecated usage of gtk_widget_push_composite_child/… Feb 23, 2015
avahi-utils build-sys: fix previous commit for recent automake Jun 19, 2012
common gobject: implement gobject introspection Jun 27, 2010
docs Updates for 0.6.32 release Feb 16, 2016
examples get rid of a lot of old svn cruft Jun 25, 2010
initscript Merge pull request #32 from heftig/master Oct 26, 2015
man Remove default rlimit-nproc=3 Feb 5, 2017
po Updated Polish translation Jun 4, 2016
service-type-database build-sys: actually, we need to place the service type database in li… Feb 14, 2012
specs add updated specs to svn Oct 3, 2006
tests get rid of a lot of old svn cruft Jun 25, 2010
.dir-locals.el Keep emacs configuration in one configuration file. Mar 7, 2011
.gitignore hide more files from git Apr 14, 2009
.travis.yml travis: install mono-mcs Apr 1, 2015
LICENSE license update Nov 18, 2005
Makefile.am howl: fix small issue Oct 24, 2010
README Update TODO, README Oct 10, 2015
acinclude.m4 * renamed avahi-discover to avahi-discover-standalone Aug 4, 2005
autogen.sh build: Allow autogen.sh to be run from another directory May 11, 2016
avahi-client.pc.in * adds pkgconfig fixes for x86_64 (because pkgconfig files should be… Jan 20, 2006
avahi-compat-howl.pc.in * adds pkgconfig fixes for x86_64 (because pkgconfig files should be… Jan 20, 2006
avahi-compat-libdns_sd.pc.in * adds pkgconfig fixes for x86_64 (because pkgconfig files should be… Jan 20, 2006
avahi-core.pc.in * adds pkgconfig fixes for x86_64 (because pkgconfig files should be… Jan 20, 2006
avahi-glib.pc.in * adds pkgconfig fixes for x86_64 (because pkgconfig files should be… Jan 20, 2006
avahi-gobject.pc.in Sanatize avahi-gobject.pc. See http://err.no/personal/blog/tech/2008-… Apr 26, 2008
avahi-qt3.pc.in Use "Requires.private" instead of "Requires" in the qt3 and qt4 pkg-c… Jan 22, 2006
avahi-qt4.pc.in Use "Requires.private" instead of "Requires" in the qt3 and qt4 pkg-c… Jan 22, 2006
avahi-sharp.pc.in um, point to the correct path Sep 9, 2005
avahi-ui-gtk3.pc.in gtk: build for both gtk2 and gtk3 Jun 25, 2010
avahi-ui-sharp.pc.in add a makefile rule for zssh.exe, and add a .pc file for avahi-ui-sharp Apr 19, 2007
avahi-ui.pc.in gtk: build for both gtk2 and gtk3 Jun 25, 2010
bootstrap.sh get rid of a lot of old svn cruft Jun 25, 2010
configure.ac configure.ac: Fix libavahi-client test Mar 6, 2016
doxygen.cfg don't built any "include graphs" with doxygen Aug 21, 2006
doxygen_to_devhelp.xsl generate devhelp index file Oct 27, 2007

README

AVAHI SERVICE DISCOVERY SUITE

Avahi is a free, LGPL implementation of DNS Service Discovery (DNS-SD RFC 6763) over Multicast DNS (mDNS RFC 6762),
commonly known as and compatible with Apple Bonjour primarily targetting Linux.

Copyright 2004-2015 by the Avahi developers.

WEB SITE:
	http://avahi.org/

GIT:
	http://github.com/lathiat/avahi.git

MAILING LIST:
	http://lists.freedesktop.org/mailman/listinfo/avahi

IRC:
	#avahi on irc.freenode.org

CIA:
	http://cia.navi.cx/stats/project/avahi

FRESHMEAT:
	http://freshmeat.net/projects/avahi/

OHLOH:
	http://www.ohloh.net/projects/avahi/

AUTHORS:
	Lennart Poettering
	Trent Lloyd