packages/libs/avahi/files/avahi-daemon.conf
blogic 869bc95451 [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 <mikebrady@eircom.net>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:59:23 +00:00

29 lines
445 B
Plaintext

[server]
#host-name=foo
#domain-name=local
use-ipv4=yes
use-ipv6=no
check-response-ttl=no
use-iff-running=no
[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
#publish-dns-servers=192.168.1.1
#publish-resolv-conf-dns-servers=yes
[reflector]
enable-reflector=no
reflect-ipv=no
[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3