🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1136469: apt-cacher-ng uses pidof but does not depend on procps

#1883
From: Gioele Barabucci
Date: Fri, 23 Oct 2026 20:50
33 lines
2924 bytes
Control: severity -1 minor

On Thu, 14 May 2026 01:25:01 +0200 Gioele Barabucci <gioele@debian.org> 
wrote:
> It is believed that apt-cacher-ng uses `pidof` due to the following
> code snippets:
> 
> ```
> path: apt-cacher-ng_3.7.5-1.1/tests/cmdline/apt-cacher-ng.sh
> $exe foreground=0 logdir=$TMP CacheDir:$TMP port:$PORT pidfile=$TMP/x.pid
> sleep 1
> pidsAfter=$(pidof apt-cacher-ng)
> test $(echo $pidsAfter | wc -w) -eq $(( $(echo $pidsBefore | wc -w)  + 1 ))
> for x in $pidsAfter ; do
> 
> 
> path: apt-cacher-ng_3.7.5-1.1/tests/cmdline/apt-cacher-ng.sh
> pidsBefore=$(pidof apt-cacher-ng)
> $exe foreground=0 logdir=$TMP CacheDir:$TMP port:$PORT pidfile=$TMP/x.pid
> sleep 1
> ```
Dear apt-catcher-ng maintainer,

d/rules disables dh_auto_test, no autopkgtests are present and the build 
logs do not show the test script `apt-cacher-ng.sh` being run. For all 
these reasons I believe you can close this bug without further action.

In the meantime I will reduce the severity of this issue to minor.

Regards,

-- 
Gioele Barabucci
Technical Details
Message-ID: <NRun7-7sLR-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <MUrbD-4WqP-121@gated-at.bofh.it> <MUrbD-4WqP-121@gated-at.bofh.it> <MUrbD-4WqP-121@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!newsfeed.xs3.de!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#1136469: apt-cacher-ng uses pidof but does not depend on procps
Date: Fri, 23 Oct 2026 22:50:01 +0200
Message-ID: <NRun7-7sLR-5@gated-at.bofh.it>
References: <MUrbD-4WqP-121@gated-at.bofh.it> <MUrbD-4WqP-121@gated-at.bofh.it> <MUrbD-4WqP-121@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Oct 23 20:43:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Gioele Barabucci <gioele@debian.org>, 1136469@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: blade@debian.org
X-Debian-Pr-Message: followup 1136469
X-Debian-Pr-Package: src:apt-cacher-ng
X-Debian-Pr-Source: apt-cacher-ng
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/1998453
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 33
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 23 Oct 2026 22:41:04 +0200
X-Original-Message-ID: <cb8cedc9-1ddc-4237-a7fd-78bcef250ea2@debian.org>
X-Original-References: <3ef42d17254b9e4a86caef8daefcfa88@debian.org> <3ef42d17254b9e4a86caef8daefcfa88@debian.org> <3ef42d17254b9e4a86caef8daefcfa88@debian.org>