This repository has been archived by the owner on Apr 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avahi: fix resource temporarily unavailable issue
It sometimes fails to run avahi with error: "Could not receive return value from daemon process". It has same root cause with lxc/lxc#25. Backport patch to fix this issue. (From OE-core rev: a901956968127b2eb5911d7b91f44fca46e30b25) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
- Loading branch information
1 parent
85bdf7e
commit 2b05c6a
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Upstream-Status: Backport | ||
|
||
Backport from: | ||
https://github.com/experimental-platform/platform-hostname-avahi/pull/9 | ||
|
||
It sometimes fails to run avahi with error: "Could not receive return value | ||
from daemon process". It has same root cause with | ||
https://github.com/lxc/lxc/issues/25. | ||
|
||
Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
--- | ||
From 5150983102ad5ad43f0dae203cb332c168eb5a71 Mon Sep 17 00:00:00 2001 | ||
From: Hinnerk Haardt <haardt@information-control.de> | ||
Date: Thu, 17 Dec 2015 11:52:19 +0100 | ||
Subject: [PATCH] Fix `chroot.c: fork() failed: Resource temporarily | ||
unavailable` as per https://github.com/lxc/lxc/issues/25. | ||
|
||
--- | ||
avahi-daemon/avahi-daemon.conf | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/avahi-daemon/avahi-daemon.conf b/avahi-daemon/avahi-daemon.conf | ||
index 95166f8..3d5b7a6 100644 | ||
--- a/avahi-daemon/avahi-daemon.conf | ||
+++ b/avahi-daemon/avahi-daemon.conf | ||
@@ -65,4 +65,3 @@ rlimit-data=4194304 | ||
rlimit-fsize=0 | ||
rlimit-nofile=768 | ||
rlimit-stack=4194304 | ||
-rlimit-nproc=3 |