From: John Crispin Date: Wed, 22 Aug 2012 09:59:23 +0000 (+0000) Subject: [packages] avahi fix for Ticket #11039 -- rlimit-nproc set too low X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b22224a76636c1a4d1cfd4b3703ba6faa73cde54;p=openwrt%2Fsvn-archive%2Farchive.git [packages] avahi fix for Ticket #11039 -- rlimit-nproc set too low This patches the /etc/avahi/avahi-daemon.conf file, setting the rlimit-nproc parameter to 3. Thepresent value for rlimit-nproc of 1 is too low and can cause the avahi-daemon to refuse to start, with a message: chroot.c: fork() failed: Resource temporarily unavailable This patch changes the setting of rlimit-nproc to 3, the same setting as is in the default avahi-daemon.conf file. The issue was reported in Ticket #11039. Signed-off-by Mike Brady SVN-Revision: 33221 --- diff --git a/libs/avahi/Makefile b/libs/avahi/Makefile index 4fd5f80867..2845c559ba 100644 --- a/libs/avahi/Makefile +++ b/libs/avahi/Makefile @@ -16,7 +16,7 @@ endif PKG_NAME:=avahi PKG_VERSION:=0.6.31 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/libs/avahi/files/avahi-daemon.conf b/libs/avahi/files/avahi-daemon.conf index cf1385644f..4ef64df2a8 100644 --- a/libs/avahi/files/avahi-daemon.conf +++ b/libs/avahi/files/avahi-daemon.conf @@ -25,4 +25,4 @@ rlimit-data=4194304 rlimit-fsize=0 rlimit-nofile=30 rlimit-stack=4194304 -rlimit-nproc=1 +rlimit-nproc=3