From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1493 Path: news.gmane.org!not-for-mail From: Thomas Schwinge Newsgroups: gmane.linux.debian.ports.hurd,gmane.comp.sysutils.supervision.general Subject: runit for Debian GNU/Hurd Date: Thu, 2 Aug 2007 00:35:57 +0200 Message-ID: <20070801223557.GH6234@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D6IIOQQv2Iwyp54J" X-Trace: sea.gmane.org 1186007676 31431 80.91.229.12 (1 Aug 2007 22:34:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2007 22:34:36 +0000 (UTC) Cc: supervision@list.skarnet.org To: debian-hurd@lists.debian.org Original-X-From: bounce-debian-hurd=debian-hurd=m.gmane.org@lists.debian.org Thu Aug 02 00:34:28 2007 Return-path: Envelope-to: debian-hurd@m.gmane.org Original-Received: from murphy.debian.org ([70.103.162.31]) by lo.gmane.org with esmtp (Exim 4.50) id 1IGMlu-0007NI-Gu for debian-hurd@m.gmane.org; Thu, 02 Aug 2007 00:34:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by murphy.debian.org (Postfix) with QMQP id 18D322E53F; Wed, 1 Aug 2007 22:37:36 +0000 (UTC) Old-Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_60,LDOSUBSCRIBER, MURPHY_DRUGS_REL8,SPF_PASS autolearn=ham version=3.1.4 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by murphy.debian.org (Postfix) with ESMTP id 024AF2E532 for ; Wed, 1 Aug 2007 22:37:22 +0000 (UTC) Original-Received: from tschwinge by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IGMnN-0006AG-Pb; Wed, 01 Aug 2007 18:35:57 -0400 Content-Disposition: inline X-Homepage: http://nic-nac-project.de/~schwinge/ User-Agent: Mutt/1.5.11 X-Rc-Virus: 2006-10-25_01 X-Rc-Spam: 2007-05-24_01 Resent-Message-ID: <58wV4.A.JAH.wsQsGB@murphy> Resent-From: debian-hurd@lists.debian.org X-Mailing-List: archive/latest/19630 X-Loop: debian-hurd@lists.debian.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: debian-hurd-request@lists.debian.org Resent-Date: Wed, 1 Aug 2007 22:37:36 +0000 (UTC) Xref: news.gmane.org gmane.linux.debian.ports.hurd:8620 gmane.comp.sysutils.supervision.general:1493 Archived-At: --D6IIOQQv2Iwyp54J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [CCed to purely for your information.] Hello! Michael, could you please do the following: apply the following patch to the `runit' source package, run a Hurd package with the fifo patch I just posted to bug-hurd (; or ask me to simply provide you with a fixed `/hurd/fifo' binary), build the `runit' package and upload to GNUAB. So far I don't really have an idea what is going wrong here, but I shall describe what is supposed to happen: `current' contains some data lines. ``t2'' is written into `config'. ``foo'' is piped into the `svlogd' program. The `svlogd' program will be left running for three seconds. During this three seconds the following is supposed to happen inside the `svlogd' program: ``foo'' is appended to `current'; two seconds after the last modification of `current' (remind the ``t2'' configuration string in `config') the file `current' is supposed to be rotated away and afterwards be empty. What does happen on a Hurd system is that apparently three seconds are not enough to do this job (which I can't really believe...) or that something goes wrong when `svlogd' is reading the last-modified time stamp of `current'. Nevertheless, enlarging the time interval to five seconds is enough to make it work as expected... #v+ --- admin/runit-1.7.2/src/svlogd.check~ 2007-08-02 00:16:35.910000000 +0200 +++ admin/runit-1.7.2/src/svlogd.check 2007-08-02 00:16:35.920000000 +0200 @@ -20,7 +20,7 @@ cat "${ctmp}"/current =20 echo t2 >"${ctmp}"/config -( echo foo; sleep 3 ) |svlogd "${ctmp}" +( echo foo; sleep 5 ) |svlogd "${ctmp}" echo $? cat "${ctmp}"/current =20 #v- For being able to apply the patch, you first have to unpack the included tarball. This is most easily done by simply starting to build the package, wait until the test suite fails (perhaps it'll also simply work for you? ;-), then apply the patch and resume the build. Regards, Thomas --D6IIOQQv2Iwyp54J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFGsQrNgfzh735dTTURApfDAJ99gAFMYnc00mEtdqzQzMMhFeVLgQCgxH76 68866JHHZYwI4+EAeQBEWzU= =L0fe -----END PGP SIGNATURE----- --D6IIOQQv2Iwyp54J--