Package: runit / 2.3.0-1

Metadata

Package Version Patches format
runit 2.3.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 default directory for services on Debian is etc servi.diff | (download)

runit-2.3.0/man/runsv.8 | 4 2 + 2 - 0 !
runit-2.3.0/man/runsvchdir.8 | 4 2 + 2 - 0 !
runit-2.3.0/man/sv.8 | 4 2 + 2 - 0 !
runit-2.3.0/src/sv.c | 2 1 + 1 - 0 !
4 files changed, 7 insertions(+), 7 deletions(-)

 [patch] default directory for services on debian is /etc/service/,
 not /service/


0004 src Makefile don t use static to link runit runit ini.diff | (download)

runit-2.3.0/src/Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] src/makefile: don't use -static to link runit,
 runit-init on Debian


0010 make build system print compilatio.patch | (download)

runit-2.3.0/src/warn-auto.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] make build system print compilation commands


0013 Shutdown when runit init receices SIGPWR.patch | (download)

runit-2.3.0/doc/runit.8.html | 10 8 + 2 - 0 !
runit-2.3.0/man/runit.8 | 15 14 + 1 - 0 !
runit-2.3.0/src/runit.c | 37 34 + 3 - 0 !
runit-2.3.0/src/runit.h | 1 1 + 0 - 0 !
runit-2.3.0/src/sig.c | 5 5 + 0 - 0 !
runit-2.3.0/src/sig.h | 1 1 + 0 - 0 !
6 files changed, 63 insertions(+), 6 deletions(-)

 shutdown when runit-init receices sigpwr
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23923924


0018 fix resource leaks and other issues as reported by i.patch | (download)

runit-2.3.0/src/fd_move.c | 5 4 + 1 - 0 !
runit-2.3.0/src/runit-init.c | 6 3 + 3 - 0 !
2 files changed, 7 insertions(+), 4 deletions(-)

 fix: resource leaks and other issues as reported by infer

 to run infer static code analyzer (fbinfer.com):
 cd src; infer run -- make

 - fix: fd_move.c resource leak - close file handle
 - fix: runit-init.c resource leak - close file handle
 

0019 Make runsvdir 8 rescan directory on SIGALARM.patch | (download)

runit-2.3.0/src/Makefile | 4 2 + 2 - 0 !
runit-2.3.0/src/runsvdir.c | 40 38 + 2 - 0 !
2 files changed, 40 insertions(+), 4 deletions(-)

 make runsvdir(8) rescan directory on sigalarm + fix 1 second delay in forced-rescan implementation

This patch squash patches 0023 into patch 0019
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933078
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933078#40

Generally runsvdir(8) rescans service directory every 5 seconds. This patch
makes it possbile to force rescan by sending SIGALARM.

This feature is wanted by maintainer scripts of packages that want to perform
some action after service was started. Obliviously, hanging installation
process for 5 seconds is sub-optimal in such situation.

0020 Add regression test for forced rescan feature.patch | (download)

runit-2.3.0/src/Makefile | 4 4 + 0 - 0 !
runit-2.3.0/src/runsvdir-rescan.test | 65 65 + 0 - 0 !
2 files changed, 69 insertions(+)

 <0026-clean up at the end of forced rescan test>
0021 Make pid1 forward sigalarm to stage2 process.patch | (download)

runit-2.3.0/src/runit.c | 20 17 + 3 - 0 !
1 file changed, 17 insertions(+), 3 deletions(-)

 make pid1 forward sigalarm to stage2 process


0025 Update runit manpage for runitdir env.patch | (download)

runit-2.3.0/man/runit.8 | 31 31 + 0 - 0 !
1 file changed, 31 insertions(+)

 update runit manpage for runitdir env