#925545 busybox: please provide runscript file -- second call

Package:
src:busybox
Source:
busybox
Submitter:
Dmitry Bogatov
Date:
2026-07-26 20:21:02 UTC
Severity:
wishlist
Tags:
#925545#5
Date:
2019-03-26 17:25:09 UTC
From:
To:
Dear Maintainer,

please consider applying patch, that adds support for Runit supervision
system.

dpkg-source: warning: extracting unsigned source package (/home/iu/devel/salsa/debian/busybox_1.30.1-2.dsc)
dpkg-source: warning: extracting unsigned source package (/home/iu/devel/salsa/debian/busybox_1.30.1-3.dsc)
diff -Nru busybox-1.30.1/debian/changelog busybox-1.30.1/debian/changelog
--- busybox-1.30.1/debian/changelog	2019-03-02 08:11:13.000000000 +0000
+++ busybox-1.30.1/debian/changelog	2019-03-24 11:24:02.000000000 +0000
@@ -1,3 +1,9 @@
+busybox (1:1.30.1-3) UNRELEASED; urgency=medium
+
+  * Add runscript for Runit system.
+
+ -- Dmitry Bogatov <KAction@debian.org>  Sun, 24 Mar 2019 11:24:02 +0000
+
 busybox (1:1.30.1-2) unstable; urgency=high

   * Complete the fix for [CVE-2018-20679] Closes: #918846
diff -Nru busybox-1.30.1/debian/control busybox-1.30.1/debian/control
--- busybox-1.30.1/debian/control	2019-03-02 07:57:49.000000000 +0000
+++ busybox-1.30.1/debian/control	2019-03-24 11:24:02.000000000 +0000
@@ -5,7 +5,7 @@
 Uploaders:
  Chris Boot <bootc@debian.org>,
  Christoph Biedl <debian.axhn@manchmal.in-ulm.de>,
-Build-Depends: debhelper (>= 11~), zip
+Build-Depends: debhelper (>= 11~), zip, dh-runit (>= 2.8.8)
 Standards-Version: 4.1.5
 Vcs-Git: https://salsa.debian.org/installer-team/busybox.git
 Vcs-Browser: https://salsa.debian.org/installer-team/busybox
@@ -123,6 +123,7 @@
  lsb-base,
  ${misc:Depends},
 Provides: dhcpd
+Breaks: ${runit:Breaks}
 Description: Provides the busybox DHCP server implementation
  Busybox contains a very small yet fully function RFC compliant DHCP
  server formerly known as udhcpd.
diff -Nru busybox-1.30.1/debian/rules busybox-1.30.1/debian/rules
--- busybox-1.30.1/debian/rules	2019-03-02 07:57:49.000000000 +0000
+++ busybox-1.30.1/debian/rules	2019-03-24 11:19:17.000000000 +0000
@@ -47,7 +47,7 @@
 export KCONFIG_NOTIMESTAMP=1

 %:
-	dh $@
+	dh $@ --with runit

 ##############################################################################

diff -Nru busybox-1.30.1/debian/udhcpd.runit busybox-1.30.1/debian/udhcpd.runit
--- busybox-1.30.1/debian/udhcpd.runit	1970-01-01 00:00:00.000000000 +0000
+++ busybox-1.30.1/debian/udhcpd.runit	2019-03-24 11:22:23.000000000 +0000
@@ -0,0 +1 @@
+debian/udhcpd.runscript name=udhcpd,logscript,since=1:1.30.1-3
diff -Nru busybox-1.30.1/debian/udhcpd.runscript busybox-1.30.1/debian/udhcpd.runscript
--- busybox-1.30.1/debian/udhcpd.runscript	1970-01-01 00:00:00.000000000 +0000
+++ busybox-1.30.1/debian/udhcpd.runscript	2019-03-24 11:23:50.000000000 +0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec /usr/sbin/udhcpd -f /etc/udhcpd.conf

#925545#10
Date:
2019-06-15 18:37:03 UTC
From:
To:
control: reassign -1 src:busybox
control: retitle -1 busybox: please provide runscript file -- second call

Hello, dear maintainer.

This bug, requesting addition of runscript file into package was filed
some time ago, and got no response. It is quite unfortunate, since
your review of could have provided valuable advice how to improve
proposed patch.

But, after all, we all volonteers here. So hereby I inform you,
following advice in Developer reference, section 5.11, that I plan to
do non-maintainer upload in two weeks or so.

Upload will be into DELAYED/15, so you still have plenty of time
to make comments and take action.

Thank you for your work on Debian.

Best regards.

#925545#21
Date:
2019-06-15 22:20:35 UTC
From:
To:
Hi Dmitry

As we are before a release, NACK.

Bastian

#925545#26
Date:
2019-06-18 20:36:35 UTC
From:
To:
control: user runit@packages.debian.org
control: usertags -1 freeze

[2019-06-16 00:20] Bastian Blank <waldi@debian.org>

Hi, Bastian

Yes, we are. Upload to experimental would be nice, though.

But if you prefer to wait for thaw, no problem -- I will come back after
release.

#925545#31
Date:
2023-11-13 11:34:12 UTC
From:
To:
Curious - Why are you filing this against udhcpd only,
why not to do it for other packages too?

Also, how runit handles restarts/reloads/shutdowns,
aren't additional scripts needed for this?

/mjt