summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch')
-rw-r--r--meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch b/meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch
new file mode 100644
index 0000000000..5a2fd75f55
--- /dev/null
+++ b/meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch
@@ -0,0 +1,30 @@
1Upstream-Status: Backport
2
3Backport from:
4https://github.com/experimental-platform/platform-hostname-avahi/pull/9
5
6It sometimes fails to run avahi with error: "Could not receive return value
7from daemon process". It has same root cause with
8https://github.com/lxc/lxc/issues/25.
9
10Signed-off-by: Kai Kang <kai.kang@windriver.com>
11---
12From 5150983102ad5ad43f0dae203cb332c168eb5a71 Mon Sep 17 00:00:00 2001
13From: Hinnerk Haardt <haardt@information-control.de>
14Date: Thu, 17 Dec 2015 11:52:19 +0100
15Subject: [PATCH] Fix `chroot.c: fork() failed: Resource temporarily
16 unavailable` as per https://github.com/lxc/lxc/issues/25.
17
18---
19 avahi-daemon/avahi-daemon.conf | 1 -
20 1 file changed, 1 deletion(-)
21
22diff --git a/avahi-daemon/avahi-daemon.conf b/avahi-daemon/avahi-daemon.conf
23index 95166f8..3d5b7a6 100644
24--- a/avahi-daemon/avahi-daemon.conf
25+++ b/avahi-daemon/avahi-daemon.conf
26@@ -65,4 +65,3 @@ rlimit-data=4194304
27 rlimit-fsize=0
28 rlimit-nofile=768
29 rlimit-stack=4194304
30-rlimit-nproc=3