Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Gioele Barabucci
Sun, 18 Oct 2026 19:50
Bug#1136572: radvd uses pidof but does not depend on procps
Author: Gioele Barabucci
Date: Sun, 18 Oct 2026 19:50
Date: Sun, 18 Oct 2026 19:50
40 lines
3242 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads