#1136466 aide uses pidof but does not depend on procps

Package:
src:aide
Source:
src:aide
Submitter:
Gioele Barabucci
Date:
2026-09-06 07:07:02 UTC
Severity:
normal
Tags:
#1136466#5
Date:
2026-05-13 23:24:51 UTC
From:
To:
Dear maintainer(s) of aide,

it appears that aide uses `pidof` in its testsuite, or that
at least one of its binary packages uses `pidof` at runtime.
Historically, `pidof` was provided by the Essential package
`sysvinit-tools`, making an explicit dependency unnecessary. However
`pidof` will soon be moved to `procps` and will no longer be part of
the Essential set.

Please add an explicit dependency on `procps`:

* via the `Depends:` field of all binary packages of aide
  that use `pidof` at runtime;
* via the `Build-Depends:` field of aide, if `pidof` is
  used in tests run at build-time;
* via the `Depends:` field of `debian/control/tests`, if `pidof` is
  used in autopkgtests.

To prevent any disruption for users of aide, please add
this dependency now, before `pidof` is moved from `sysvinit-utils` to
`procps`. Alternatively, you could remove all uses of `pidof`.

It is believed that aide uses `pidof` due to the following
code snippets:

```
path: aide_0.19.2-3/debian/bin/dailyaidecheck
    if [ -n "${LOCKED:-}" ]; then
        # we have the lock,
        pidof aide | xargs --no-run-if-empty kill -9
    fi
    if type -t onexit >/dev/null; then


path: aide_0.19.2-3/debian/aide.conf.d/31_aide_torrus
CPID="$(pidof collector)"
if [ "${CPID}" ]; then
  printf "!/var/log/torrus/dbenv_errlog_%d$ f\\n" "$(pidof collector)"
fi
printf " /var/log/torrus$ d VarDir\\n"


path: aide_0.19.2-3/debian/aide.conf.d/31_aide_torrus
printf "!/var/lib/torrus/session_data/lock/Apache-Session-[0-9a-f]{32}\\.lock$ f\\n"
printf " /var/lib/torrus/session_data/(store|lock)$ d VarDir\\n"
CPID="$(pidof collector)"
if [ "${CPID}" ]; then
  printf "!/var/log/torrus/dbenv_errlog_%d$ f\\n" "$(pidof collector)"
```

Feel free to close this issue if this is a false positive (for example
if this code is in an unreachable code path).

Regards,

#1136466#8
Date:
2026-09-04 19:33:03 UTC
From:
To:
Hello,

Bug #1136466 in aide reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/aide/-/commit/fcbff38494b8717a80e32a47986aba49baff9c5f
------------------------------------------------------------------------
suggest procps

Thanks: Gioele Barabucci
Closes: #1136466
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1136466

#1136466#15
Date:
2026-09-06 07:04:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
aide, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1136466@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated aide package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 06 Sep 2026 08:42:42 +0200
Source: aide
Architecture: source
Version: 0.19.4-1
Distribution: unstable
Urgency: medium
Maintainer: Aide Maintainers <aide@packages.debian.org>
Changed-By: Marc Haber <mh+debian-packages@zugschlus.de>
Closes: 228 229 1136466
Changes:
 aide (0.19.4-1) unstable; urgency=medium
 .
   * New Upstream version 0.19.4
     * Fix segfault on db line with missing tokens (closes: #229)
     * Fix segfault on limit matching encoded filename (closes: #228)
   * rule changes:
     * adapt 31_aide_torrus to new log handling
     * 10_aide_machineid fix MACHINEID generation
     * new rule 10_aide_os-release
     * new rule 10_aide_setpackagelist
     * new rule 11_aide_pidrange
     * improve rule 31_aide_cron-apt
     * improve rule 10_aide_dateformats
     * improve rule 31_aide_apt-cacher-ng
     * improve rule 31_aide_exim4
     * improve rule 31_aide_cups
     * improve rule 31_aide_mdadm
     * improve rule 31_aide_munin
     * improve rule 31_aide_samba
     * improve rule 31_aide_sniproxy
     * improve rule 31_aide_spamassassin
     * improve rule 31_aide_spamassassin
   * suggest procps.
     Thanks to Gioele Barabucci (Closes: #1136466)
Checksums-Sha1:
 8a00aa57b2d6efba076da50f212f21c6386676e1 2081 aide_0.19.4-1.dsc
 0464b9acf8a178987549acab75604883f3acbdc1 381576 aide_0.19.4.orig.tar.gz
 7778c73034347fe6695380767d72af65aa6d11a8 659 aide_0.19.4.orig.tar.gz.asc
 c9a69d0fd87121ac27d07877043726ee17eb2c42 122348 aide_0.19.4-1.debian.tar.xz
Checksums-Sha256:
 9a8e993e8bcbd9c6eaab9999d6d659311b638bb1f8634db0824da1c89052cf41 2081 aide_0.19.4-1.dsc
 47ab7c696f0745911479a41f90d7ad99d26536e186d66c4aad093bc72d20ff5f 381576 aide_0.19.4.orig.tar.gz
 46a481811b7a14c4f27df1d7b62e338d3208f27683dc663420ec842186ee8877 659 aide_0.19.4.orig.tar.gz.asc
 623e3a319596f52550e04e4cb4dd242743da47f941b94d9a149e769049c5345e 122348 aide_0.19.4-1.debian.tar.xz
Files:
 92fed4807e538a0d1b32d03f5ffcccec 2081 admin optional aide_0.19.4-1.dsc
 0398dd444561096cd5bcbf662238e635 381576 admin optional aide_0.19.4.orig.tar.gz
 f347bd30bab04353591087f4a996bbcb 659 admin optional aide_0.19.4.orig.tar.gz.asc
 e69c8cab0e59626fc1bbe01e8efb14ef 122348 admin optional aide_0.19.4-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRoUtdjQYCq5giMg+rVTTAMN2ORyQUCap0LzAAKCRDVTTAMN2OR
yY6qAP98xC0xLT0O1dx+/qVhezC1ts5ROHHeoZvYEvWa6os5VQD8DXB1cWOEkbhx
XD5eXY7XfLiA+e3WD6GqlKcaZvr+tw0=
=7vBJ
-----END PGP SIGNATURE-----