From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JVG25-0001Bd-F9 for garchives@archives.gentoo.org; Sat, 01 Mar 2008 00:56:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D2F7E056A; Sat, 1 Mar 2008 00:56:55 +0000 (UTC) Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 4005CE056A for ; Sat, 1 Mar 2008 00:56:55 +0000 (UTC) Received: from uberpc.marples.name (uberpc.marples.name [10.73.1.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTP id 96CF8190087 for ; Sat, 1 Mar 2008 00:56:54 +0000 (GMT) From: Roy Marples To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Baselayout-2 progress? Date: Sat, 1 Mar 2008 00:56:54 +0000 User-Agent: KMail/1.9.7 References: <47C812CF.2020903@wildgooses.com> <200802291701.58988.roy@marples.name> <47C893F6.4090905@wildgooses.com> In-Reply-To: <47C893F6.4090905@wildgooses.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803010056.54037.roy@marples.name> X-Archives-Salt: 4f440f8b-c267-4905-b11c-0022e1310895 X-Archives-Hash: afbf7c205458805a83ef84aa4ef639ff On Friday 29 February 2008 23:23:34 Ed Wildgoose wrote: > > [2] I use busybox as a shell and can support it when it's internal > > start-stop-daemon applet disabled (as OpenRC has it's own variant). > > I guess I could just check it out instead of asking but.... What's > missing from the busybox s-s-daemon? > > I am using the busybox version 95% successfully with baselayout-2 for > example (just simple stuff mind). The only thing it's breaking on right > now is a --test option which doesn't seem to exist? > > I'm not that fussed, I'm just curious? s-s-d when used in an OpenRC service remembers how the daemon is started so it can poll to see if it's still running or not. We also use this ability to ensure the daemon really starts. A lot of daemons love to fork (and return success) before checking config and system for sanity, so sometimes it's needed. OpenRC variant also works better for finding daemons on the whole, especially if you upgrade an already running daemon. Plus, it supports more OS's than busybox - but to be fair, busybox only supports Linux. It's also missing chroot and env options from the upstream Debian version. It's also missing the Gentoo extras for PAM limits support and redirecting the daemons stdout/stderr to log files. It also requires the crappy use of oknodo. It fails to search for daemon arguments when stopping (important for say daemons using python without pidfiles) I'm not sure that busybox would take any patches to add much of the above as most would add more bloat for sure. Thanks Roy -- gentoo-dev@lists.gentoo.org mailing list