Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix avahi resource temporarily unavailable issue
@ 2016-07-20  9:17 kai.kang
  2016-07-20  9:17 ` [PATCH 1/1] avahi: fix " kai.kang
  0 siblings, 1 reply; 2+ messages in thread
From: kai.kang @ 2016-07-20  9:17 UTC (permalink / raw)
  To: openembedded-core

From: Kai Kang <kai.kang@windriver.com>

The following changes since commit aae4c2a629d5314a1ccf17e87827adb080cbbe53:

  ref-manual: Updated the "Recipe Logging Mechanisms" section (2016-07-19 15:04:52 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib kangkai/avahi
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/avahi

Kai Kang (1):
  avahi: fix resource temporarily unavailable issue

 meta/recipes-connectivity/avahi/avahi_0.6.32.bb    |  2 ++
 .../files/avahi-fix-resource-unavaiable.patch      | 30 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch

-- 
2.6.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] avahi: fix resource temporarily unavailable issue
  2016-07-20  9:17 [PATCH 0/1] Fix avahi resource temporarily unavailable issue kai.kang
@ 2016-07-20  9:17 ` kai.kang
  0 siblings, 0 replies; 2+ messages in thread
From: kai.kang @ 2016-07-20  9:17 UTC (permalink / raw)
  To: openembedded-core

From: Kai Kang <kai.kang@windriver.com>

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.

Backport patch to fix this issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/recipes-connectivity/avahi/avahi_0.6.32.bb    |  2 ++
 .../files/avahi-fix-resource-unavaiable.patch      | 30 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch

diff --git a/meta/recipes-connectivity/avahi/avahi_0.6.32.bb b/meta/recipes-connectivity/avahi/avahi_0.6.32.bb
index 6670106..bfa6304 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.6.32.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.6.32.bb
@@ -12,6 +12,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
                     file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \
                     file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf"
 
+SRC_URI += "file://avahi-fix-resource-unavaiable.patch"
+
 SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013"
 SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454"
 
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 0000000..5a2fd75
--- /dev/null
+++ b/meta/recipes-connectivity/avahi/files/avahi-fix-resource-unavaiable.patch
@@ -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
-- 
2.6.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-20  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20  9:17 [PATCH 0/1] Fix avahi resource temporarily unavailable issue kai.kang
2016-07-20  9:17 ` [PATCH 1/1] avahi: fix " kai.kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox