From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GMZcp-0004YY-CF for garchives@archives.gentoo.org; Mon, 11 Sep 2006 00:26:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8B0PQgv028377; Mon, 11 Sep 2006 00:25:26 GMT Received: from pc18.dolda2000.com (1-1-3-7a.rny.sth.bostream.se [82.182.133.20]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8B0LBZ6005595 for ; Mon, 11 Sep 2006 00:21:12 GMT Received: from pc7.dolda2000.com (pc7.dolda2000.com [IPv6:2002:52b6:8514:200:20c:76ff:fe3b:a3f4] (may be forged)) (authenticated bits=0) by pc18.dolda2000.com (8.13.7/8.13.7) with ESMTP id k8B0JW6i007129 for ; Mon, 11 Sep 2006 02:19:32 +0200 DomainKey-Signature: a=rsa-sha1; s=pri; d=dolda2000.com; c=nofws; q=dns; b=fcHyyuVmD4T3zIHKeyoafQ/U12JqPUwkiv5Vtv9ki6qbNWjTtfJqLLvM4XnGAhp4c tswaeCaZLi+wMFmzI7u7KqDdFUow7Pvw6ch8rk/1uPrtTnKIH3gWZ0FRwUMsC//2ghx FFAIqYKkbkg7Bq6tU/UwYOT+glvOrEVKMVFtP1k= Subject: Re: [gentoo-user] Init scripts acting weird with baselayout 1.12 From: Fredrik Tolf To: gentoo-user@lists.gentoo.org In-Reply-To: <7573e9640609072246g4fe17d3jc9b1add0dc8892df@mail.gmail.com> References: <1157666426.11740.5.camel@pc7.dolda2000.com> <7573e9640609072246g4fe17d3jc9b1add0dc8892df@mail.gmail.com> Content-Type: text/plain Date: Mon, 11 Sep 2006 02:21:13 +0200 Message-Id: <1157934074.14904.3.camel@pc7.dolda2000.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (pc18.dolda2000.com [IPv6:2002:52b6:8514:100::4]); Mon, 11 Sep 2006 02:19:32 +0200 (CEST) X-Archives-Salt: 38edb7fb-d413-4f47-b8f6-efc5c427bc0a X-Archives-Hash: f2515e4c0eafd201e4a0cddcc2577b91 On Thu, 2006-09-07 at 22:46 -0700, Richard Fish wrote: > On 9/7/06, Fredrik Tolf wrote: > > start-stop-daemon -S -p /var/run/cidd.pid -qx /usr/local/sbin/cidd > > Is cidd the actual daemon, or a starter shell script? IIRC, > start-stop-daemon has a problem with starting things that end up with > a different exe name, and thus the --startas option. It is indeed the actual daemon. > You also might try fiddling with the RC_WAIT_ON_START setting in > /etc/conf.d/rc. If the service can't be detected as running 100ms > after starting, then you might have a problem. What does this actually mean? How does it "detect" if it is running? The case with these daemons (as usual) is that they do some initialization and then daemonize using the standard C daemon() call (fork and exit in the parent). What is it that is detected? Thanks for responding! Fredrik Tolf -- gentoo-user@gentoo.org mailing list