runit-2.2.0 available

2024-09-29 Thread Gerrit Pape
Hi, version 2.2.0 of the runit package is available through https://smarden.org/runit/ Thanks to the community, and especially to Alex Efros and Z. Liu for recently consolidating a great set of commits, this version includes patches from Gentoo, Debian, and Void Linux to properly build with mode

Re: wrong exit code for sv status in lsb mode

2019-03-13 Thread Gerrit Pape
On Tue, Jan 08, 2019 at 08:19:30AM -0800, David Mountney via supervision wrote: > The error was introduced in commit 5fe1bc773c2d979093fe4b1f3ecbbed5e6acdaf0 > "sv.c: properly format status command's output on failure cases." > > Where the log status is being saved to the same variable as the serv

Re: wrong exit code for sv status in lsb mode

2019-01-08 Thread Gerrit Pape
Hi, donations for my free software increased recently, not sure why, but thanks. runit upstream sources with history still are available through $ git clone http://smarden.org/git/runit.git Below is the diff for sv.c from 2.1.1 to 2.1.2. Possibly anyone can spot the error and create a patch i

Re: [PATCH 1/3] correct typo

2016-09-01 Thread Gerrit Pape
On Tue, Aug 30, 2016 at 01:15:20PM +0200, Laurent Bercot wrote: > >I will be happy to send a 0/n introductory message (git send-email > >--compose) for any future proposed series, i was not aware that was the > >custom here. Indeed, i wrote this series because i could find no clear > >instructions

Re: [PATCH 1/3] correct typo

2016-09-01 Thread Gerrit Pape
On Mon, Aug 29, 2016 at 09:10:24PM -0400, Daniel Kahn Gillmor wrote: > --- > package/CHANGES | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/CHANGES b/package/CHANGES > index da4ea27..d3c419b 100644 > --- a/package/CHANGES > +++ b/package/CHANGES > @@ -146,7 +146,

Re: listen(1): proposed addition to the runit suite

2016-08-22 Thread Gerrit Pape
On Wed, Aug 10, 2016 at 11:58:55AM -0400, Daniel Kahn Gillmor wrote: > Hi Gerrit and other runit folks-- > > I'm working on a new tool that i think would fit well with runit, and i > was wondering if there is any interest in it as a contribution to the > runit suite. Hi Daniel, I'm sure many run

Re: Runit debian package fix for Ubuntu 16.04

2016-08-22 Thread Gerrit Pape
On Mon, Jul 25, 2016 at 09:02:22AM +0100, Jonathan de Boyne Pollard wrote: > Pierre Jacomet: > > >I did a couple of fixes to the debian package installer such that > >the debian/ubuntu installer deals properly with the dichotomy > >between systemd and upstart and the fact that they both may be > >

Re: FW: Runit debian package fix for Ubuntu 16.04

2016-08-22 Thread Gerrit Pape
On Mon, Jul 18, 2016 at 10:43:58PM +0200, Laurent Bercot wrote: > On 18/07/2016 22:36, Pierre Jacomet wrote: > >Hi, I apologize if this mail is a repeat as I tried to submit via the > >web interface and I am not sure whether it succeeded or not. In any > >case, I did a couple of fixes to the debian

Re: runit maintenance - Re: patch: sv check should wait when svrun is not ready

2015-06-19 Thread Gerrit Pape
On Thu, Jun 18, 2015 at 06:24:13PM -0700, Buck Evan wrote: > How would you like to see the layout, build process look? Maybe there's an > example project you like? > If it's easy enough for me to try, I'd like to. First is moving away from slashpackage. Doing it similar to what Laurant does in hi

runit maintenance - Re: patch: sv check should wait when svrun is not ready

2015-06-18 Thread Gerrit Pape
27;m not the maintainer of any C code, anywhere. While I do host a mirror or > two on bitbucket, I only do humble scripts, sorry. Gerrit is around, he's > just a bit elusive. > > On 6/16/2015 9:37 AM, Buck Evan wrote: > > I'd still like to get this merged. > >

Re: Transition to supervision-scripts

2014-11-08 Thread Gerrit Pape
On Sat, Nov 08, 2014 at 11:02:15AM +0100, Laurent Bercot wrote: > On 07/11/2014 21:00, Avery Payne wrote: > >I'm still in the process of getting a build of s6 going, mostly because I'm > >still getting my head wrapped around the /package directory concept, and > >getting the builds to play nice wit

runit downloads

2014-08-30 Thread Gerrit Pape
Hi, transparency is a good thing. In this spirit, here're the downloads of the runit releases from the official site http://smarden.org/runit/ from unique ip addresses for the last months $ grep ^2014-06 @* current |grep runit-2.1.1.tar.gz |cut -d\ -f2 |uniq |wc -l 5207 $ grep ^2014-07 @* curren

runit-2.1.2 available

2014-08-10 Thread Gerrit Pape
Hi, version 2.1.2 of the runit package is available for through http://smarden.org/runit/ The sv program learns the LSB init script actions reload and try-restart. It also fixes two bugs that lead to wrong or badly formatted output under some circumstances when reporting status of services, and

Re: Update on our progress with Runit.

2014-08-08 Thread Gerrit Pape
On Wed, Aug 06, 2014 at 10:55:15PM +, James Powell wrote: > Also: > > http://www.mail-archive.com/supervision@list.skarnet.org/msg00148.html > > This patch was released by Gerrit a while back for logpipe error > handling. Hi James, I adjusted the patch a bit as testing showed a bug. You ca

Re: [PATCH/RFC] Re: logpipe error handling patch

2014-08-08 Thread Gerrit Pape
On Thu, Aug 07, 2014 at 11:39:08AM +0200, Jan Pobrislo wrote: > On Fri, 1 Aug 2014 05:32:16 + > Gerrit Pape wrote: > > On Wed, Jul 30, 2014 at 03:01:16PM +0200, Jan Pobrislo wrote: > > > I was under the assumption that the pipe is left open so you can > > > send

Re: [PATCH] Implement stage 4 (execve handoff)

2014-08-01 Thread Gerrit Pape
On Tue, Jul 29, 2014 at 12:01:36PM -0700, Ryan Finnie wrote: > This patch adds stage 4, an optional stage which is run after stage 3. > If /etc/runit/4 is found and executable, runit will execve() into it, > giving it control of PID 1. Finnix (http://www.finnix.org/) uses runit > as its init syste

[PATCH] sv.c: properly format status command's output on failure cases.

2014-08-01 Thread Gerrit Pape
On Tue, Jul 29, 2014 at 03:11:11PM +, Gerrit Pape wrote: > > $ sudo sv s foo > > run: foo: (pid 4885) 526260s; run: log: (pid 875) 526517s > > $ sudo sv s baz > > run: baz: (pid 2337) 2983swarning: baz: unable to open supervise/ok: > > file does not exist > Th

[PATCH/RFC] Re: logpipe error handling patch

2014-07-31 Thread Gerrit Pape
On Wed, Jul 30, 2014 at 03:01:16PM +0200, Jan Pobrislo wrote: > On Wed, 30 Jul 2014 00:37:47 +0100 > Laurent Bercot wrote: > > At this point, the service is > > dysfunctional and there's no way to recover it: so runsv should not > > be accepting commands anymore, and close its control pipe instead

Re: svlogd timestamps fail on OpenBSD 5.5 (snapshot)

2014-07-30 Thread Gerrit Pape
On Tue, Jul 29, 2014 at 10:16:55PM +0200, Jérémie Courrèges-Anglas wrote: > This is a follow-up for a report sent by Mike in April. The problem > here is that on some platforms such as OpenBSD and NetBSD, time_t has > been enlarged to 64 bits even on ILP32. Since time_t is already used in > the r

Re: Rare runsv logging problem

2014-07-29 Thread Gerrit Pape
On Tue, Jul 29, 2014 at 11:17:15AM -0700, Caleb Spare wrote: > I suppose a workaround for us is pretty simple: if the service > directory does not exist (initial deploy), do the rsync to a temp > directory and mv it into place. > > Do you think that runsv should more gracefully handle this order o

Re: Public Browsable Source Repository

2014-07-29 Thread Gerrit Pape
On Sat, May 24, 2014 at 12:05:24AM +0200, Felix Hummel wrote: > I come from phusion/baseimage-docker [1] and I really like the > simplicity of runit. It's beautiful design. > But where is the source? Of course I could get it from the package > repositories, but I expected a link to Github on > http

Re: logpipe error handling patch

2014-07-29 Thread Gerrit Pape
On Sat, Jul 26, 2014 at 10:44:18AM +0200, c...@webprojekty.cz wrote: > Hello, I wrote a patch for how broken filedescriptors when creating child > are handled. Currently only the child dies, leaving non-working instance of > runsv in place. My patch makes it kill the parent so the runsv process can

Re: Rare runsv logging problem

2014-07-29 Thread Gerrit Pape
On Fri, Jul 25, 2014 at 05:16:08PM -0700, Caleb Spare wrote: > I've been using runit for a while now and it has been mostly > wonderful. I'm noticing a persistent issue and I'm not sure how to > debug it. > The problem I'm seeing is that, very occasionally, runsv will get into > a bad state where

runit maintenance / development

2014-07-25 Thread Gerrit Pape
ut for > other distributions. Nice! I'd like to see runit as an alternative init system in Debian, but there're hurdles, such as sysvinit backward compatibility I actually don't want to see in runit. > The only question I have left is for Gerrit Pape and that is if Runit > i