From b22224a76636c1a4d1cfd4b3703ba6faa73cde54 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 22 Aug 2012 09:59:23 +0000 Subject: [PATCH] [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 --- libs/avahi/Makefile | 2 +- libs/avahi/files/avahi-daemon.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2