X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by lists.alpinelinux.org (Postfix) with ESMTP id 06D03170000BA for ; Thu, 20 Nov 2008 08:16:21 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so150265eyf.13 for ; Thu, 20 Nov 2008 00:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=Mlh4bv+rc2Z8zRs5qIoW0pUEQlMEOaolP8IaGno+b0Y=; b=m8EmAP+ezkIcSHBs7TZ75BfQbGKlevCpT0prsz7FSLgjL+IZmyRns3mkz79/mok3Av d3AcZQMyLgHwAdZgG1QN2cpsQvc6y80DwRWU1RSAUjIg6Zp4heee/Owgxr2oxI05ybxB 9vccru7/m94kYWLS+HpsM8Jq/jsmakMPxXdO4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=CHH0miE7sVBGA1QOhapAH4Xr5WPyAAqIljS004W7skVlgTKA0S6ApkYRkWbIBbAIoz oRlGqMt8JcLCqY3MVTcifv7geKAFXvom19w8Sz0QCVw/m6H5OoXDNVTFSgDN83OAFG5t 0oljRK2719aNeSus0cX8JHhFW5s+3IUkL8nmw= Received: by 10.210.111.4 with SMTP id j4mr1641972ebc.170.1227168980108; Thu, 20 Nov 2008 00:16:20 -0800 (PST) Received: from ?10.65.0.5? (149-13-151.oke2-bras2.adsl.tele2.no [90.149.13.151]) by mx.google.com with ESMTPS id 3sm19735eyi.25.2008.11.20.00.16.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Nov 2008 00:16:19 -0800 (PST) Subject: Re: [alpine-devel] Init script issue From: Natanael Copa To: Ted Trask Cc: Alpine Developers In-Reply-To: <851834.89428.qm@web50209.mail.re2.yahoo.com> References: <851834.89428.qm@web50209.mail.re2.yahoo.com> Content-Type: text/plain Date: Thu, 20 Nov 2008 09:16:14 +0100 Message-Id: <1227168974.8518.59.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit On Wed, 2008-11-19 at 13:32 -0800, Ted Trask wrote: > A recent change to ACF looks for the presence of pid files to > determine if a service is running. Unfortunately, the status is wrong > for at least a few services because the init.d script fails to delete > the pid file on a stop. So far, I've seen the problem with bgpd, > dansguardian, and dnsmasq. I'm sure it's also there with others. right, and not all services uses pid at all. basicly, you cannot really rely on the pid file. While working on a related proj i was thinking that the init.d libs should be taking optional parameter to check if service is running by pidof() -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---