🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1290

Bug#1136572: radvd uses pidof but does not depend on procps

#1290
From: Gioele Barabucci
Date: Sun, 18 Oct 2026 19:50
40 lines
3242 bytes
Control: tags -1 patch

On Wed, 27 May 2026 14:29:13 +0200 Andreas Henriksson <andreas@fatal.se> 
wrote:
> On Thu, May 14, 2026 at 01:31:44AM +0200, Gioele Barabucci wrote:
> > Source: radvd
> > Version: 1:2.20-1+b1
> > Usertags: pidof-without-procps
> > 
> > Dear maintainer(s) of radvd,
> [...]
> > ```
> > path: radvd_1:2.20-1/debian/tests/daemons
> > sysctl -w net.ipv6.conf.all.forwarding=1
> > /etc/init.d/${DAEMON} restart > /dev/null 2>&1
> > if pidof -x $DAEMON > /dev/null; then
> >     echo "OK"
> > else
> > ```
> [...]
> 
> Usually it's not a good idea to directly invoke init scripts, but in
> this test-suite it might be ok (I don't know).
> However if it is ok to directly invoke the init script, then that should
> also be done to check the status. i.e.
> 
> ```
> /etc/init.d/${DAEMON} restart > /dev/null 2>&1
> if /etc/init.d/${DAEMON} status > /dev/null 2>&1 ; then
> ```
That's a good suggestion, also because initscripts are supposed to use 
the Debian-wide pidof-like functionality `pidofproc`.

I turned it into a MR: 
<https://salsa.debian.org/debian/radvd/-/merge_requests/3>.

Regards,

-- 
Gioele Barabucci
Technical Details
Message-ID: <NPF3j-6oja-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <MUrlg-4Wy6-31@gated-at.bofh.it> <MZlId-8gWs-1@gated-at.bofh.it> <MZlId-8gWs-1@gated-at.bofh.it> <MUrlg-4Wy6-31@gated-at.bofh.it> <MZlId-8gWs-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Gioele Barabucci <gioele@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1136572: radvd uses pidof but does not depend on procps
Date: Sun, 18 Oct 2026 21:50:01 +0200
Message-ID: <NPF3j-6oja-1@gated-at.bofh.it>
References: <MUrlg-4Wy6-31@gated-at.bofh.it> <MZlId-8gWs-1@gated-at.bofh.it> <MZlId-8gWs-1@gated-at.bofh.it> <MUrlg-4Wy6-31@gated-at.bofh.it> <MZlId-8gWs-1@gated-at.bofh.it>
X-Original-To: 1136572@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 18 19:45:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Gioele Barabucci <gioele@debian.org>, 1136572@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: stappers@debian.org
X-Debian-Pr-Message: followup 1136572
X-Debian-Pr-Package: src:radvd
X-Debian-Pr-Source: radvd
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: gioele
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997432
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 40
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 18 Oct 2026 21:42:23 +0200
X-Original-Message-ID: <96295f26-857c-4296-a4a3-f03c220216f7@debian.org>
X-Original-References: <3c72e170c9761eae76b4ccdad3bf33b1@debian.org> <pazfduyfgqwmalzhnxlszzg744bhepqx3yj2stpq3qz5yven3o@j4hbwi3pudtw> <pazfduyfgqwmalzhnxlszzg744bhepqx3yj2stpq3qz5yven3o@j4hbwi3pudtw> <3c72e170c9761eae76b4ccdad3bf33b1@debian.org> <pazfduyfgqwmalzhnxlszzg744bhepqx3yj2stpq3qz5yven3o@j4hbwi3pudtw>