Bug#925545: udhcpd: support for Runit supervision system

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#925545: udhcpd: support for Runit supervision system

Dmitry Bogatov-3

Package: udhcpd
Version: 1:1.30.1-3
Severity: wishlist
Tags: patch
User: [hidden email]
Usertags: runscript

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 <[hidden email]>  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 <[hidden email]>,
  Christoph Biedl <[hidden email]>,
-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


attachment0 (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#925545: busybox: please provide runscript file

Dmitry Bogatov-3

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.
--
Note, that I send and fetch email in batch, once in a few days.

Reply | Threaded
Open this post in threaded view
|

Bug#925545: busybox: please provide runscript file

Bastian Blank
Hi Dmitry

On Sat, Jun 15, 2019 at 06:37:03PM +0000, Dmitry Bogatov wrote:
> 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.

As we are before a release, NACK.

Bastian

--
A little suffering is good for the soul.
                -- Kirk, "The Corbomite Maneuver", stardate 1514.0

Reply | Threaded
Open this post in threaded view
|

Bug#925545: busybox: please provide runscript file

Dmitry Bogatov-3

control: user [hidden email]
control: usertags -1 freeze

[2019-06-16 00:20] Bastian Blank <[hidden email]>
> Hi Dmitry

Hi, Bastian

> On Sat, Jun 15, 2019 at 06:37:03PM +0000, Dmitry Bogatov wrote:
> > 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.
>
> As we are before a release, NACK.

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.
--
Note, that I send and fetch email in batch, once in a few days.