From fc4d9b7a24697103ffbbc3749160a1ef1d65f30525022c6aaf5ae949a37ecf88 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 10 Aug 2012 12:53:49 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=182 --- killproc-2.21.dif | 11 +++++++++++ sysvinit.changes | 6 ++++++ 2 files changed, 17 insertions(+) diff --git a/killproc-2.21.dif b/killproc-2.21.dif index b0a61c2..4df2e5b 100644 --- a/killproc-2.21.dif +++ b/killproc-2.21.dif @@ -18,3 +18,14 @@ const size_t nlen = strlen(point); MNTINFO *restrict p; if (posix_memalign((void*)&p, sizeof(void*), alignof(MNTINFO)+(nlen+1)) != 0) { +--- startproc.c ++++ startproc.c 2012-08-10 12:43:56.136510304 +0000 +@@ -778,7 +778,7 @@ retry: + * to see a process damage. + */ + usleep(10*1000); /* 10 ms time for the child and its child */ +- if (++n < 10) ++ if (++n < 50) + goto retry; + break; + default: diff --git a/sysvinit.changes b/sysvinit.changes index bf08eb3..e9445dd 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 10 12:44:29 UTC 2012 - werner@suse.de + +- Increase daemon detection time in startproc to give started + process the time to daemonize (bnc#757643) + ------------------------------------------------------------------- Thu Aug 2 13:58:11 UTC 2012 - werner@suse.de