#1136587 smbldap-tools uses pidof but does not depend on procps

#1136587#5
Date:
2026-05-13 23:32:35 UTC
From:
To:
Dear maintainer(s) of smbldap-tools,

it appears that smbldap-tools 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 smbldap-tools
  that use `pidof` at runtime;
* via the `Build-Depends:` field of smbldap-tools, 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 smbldap-tools, 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 smbldap-tools uses `pidof` due to the following
code snippets:

```
path: smbldap-tools_0.9.11-3/smbldap-config.pl
# we first check if Samba is up and running
my $test_smb=`pidof smbd`;
chomp($test_smb);
die "\nSamba needs to be started first !\n" if ($test_smb eq "" || not defined $test_smb);
```

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

Regards,

#1136587#10
Date:
2026-10-23 05:19:37 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
smbldap-tools, 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 1136587@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gioele Barabucci <gioele@debian.org> (supplier of updated smbldap-tools 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: Fri, 23 Oct 2026 00:34:29 +0200
Source: smbldap-tools
Architecture: source
Version: 0.9.11-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Gioele Barabucci <gioele@debian.org>
Closes: 1136587
Changes:
 smbldap-tools (0.9.11-4) unstable; urgency=medium
 .
   * QA upload.
   * d/control:
     - Update standards version to 4.7.4
     - Drop `Priority: optional`, default as of dpkg-dev 1.22.13
     - Drop `Rules-Requires-Root: no`, default as of dpkg-dev 1.22.13
     - Depend on procps for pidof (Closes: #1136587)
   * d/salsa-ci.yml: Update recipe's URL
   * d/README.source: remove outdated file
   * d/preinst: Remove outdated maintscript
Checksums-Sha1:
 4e46d185e0e23994f7ca87b662c5113364ece1c3 2196 smbldap-tools_0.9.11-4.dsc
 d2425a904ffe562670aef0e18f8f2f3a9150b866 8816 smbldap-tools_0.9.11-4.debian.tar.xz
 66af385bacfef89769e13f451821628c5b55c8af 542096 smbldap-tools_0.9.11-4.git.tar.xz
 d26753e8773d47107c7acb9427ede9ba37de140b 17760 smbldap-tools_0.9.11-4_source.buildinfo
Checksums-Sha256:
 03af009a3ce7bd7c640333e2c826db8483e99170df387e41629a5c2642bdd0fb 2196 smbldap-tools_0.9.11-4.dsc
 df7a8213ec39a5d8429111ec4c883c4912b09830b73f1ec8f5181fe1adaabb04 8816 smbldap-tools_0.9.11-4.debian.tar.xz
 ea366abe9595ce29bef57559305ba0cf73c46586bd856cb2ff46fd1a1db61eb4 542096 smbldap-tools_0.9.11-4.git.tar.xz
 a003ee24fe89a969694846cff6661263e2a78c6d0a9f3bf8847ae54789b1a92b 17760 smbldap-tools_0.9.11-4_source.buildinfo
Files:
 31e47fbb43ebe93bb1d6465db27c1d30 2196 admin optional smbldap-tools_0.9.11-4.dsc
 8cdfc19de866040d51e8eb188b5a40a1 8816 admin optional smbldap-tools_0.9.11-4.debian.tar.xz
 e81e8d14d3b58a1c561d2da3b2a25085 542096 admin None smbldap-tools_0.9.11-4.git.tar.xz
 46701098dc065e7e6960e94d48e195e7 17760 admin optional smbldap-tools_0.9.11-4_source.buildinfo
Git-Tag-Info: tag=a260348cf271a6fa5df0a5f9e0ae08b2bd0b0a43 fp=02988a8f528fa493e1b98e388f89871cdb75972e
Git-Tag-Tagger: Gioele Barabucci <gioele@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmra63AACgkQYG0ITkaD
wHn5zxAAkDLVsJas4s8YcB1SEYClf2mO5cZLbP64xb+aNe/I+3qKBcAt16cySwPl
Hltih8aBFv8ifImfGpjljueSveb52ktFNF0Ow2+LYYt1DuS3PZNdKwdHvbZu95Lf
16sZVN4jagnc0xH4lO2JuJ7ZljmtPqiAjZWVQzfoil5R3pwTJWWltpV7+1VEHz+J
u4qNMh4OE8hr9KvaQFxaYZQ48e1Bz9bm9HSOCVQTxoM1WI66DC3rIxiev9F4eX4J
FpojHZbGJMkj77x3z6PhPa0JMeJuqUxDKoRZY6O5ZrCKSoRF4IPAXx6c8JkkAbn+
19XXnJul+el0vVt1xeZ/olsZ6HS2MIppjyC4wgUUrXVg/Ga92QhXj30MGTTvo+vM
p9O6VJXl6obfhDs/akFFu0f1lC/zJDfrZanMYlu+FZ1XseACYFP4Oomn1qiDh/xV
e3housfDfMkEe8IyebA44uySAZPOKd8YrDbmsqzKPm22U1YoJs1cqGjRaLqMttY4
KXAS0NFPxJD1IyMQ48ixFDBtB0qArEWNO3E7ozVF2E6kcA/qoEiGiTR209FKTyiv
W5vx4uKq7qVVoBi64t53sVXvsZVLtUQJq/0D7Ry5ExxcOWnoZ8Svuogg/7mi2k+O
YKVhTgdGOrAtRl72xwqxKcfat52WtT64tojE98IGVfpciny/mtQ=
=QHTL
-----END PGP SIGNATURE-----