- Package:
- src:nfs-utils
- Source:
- src:nfs-utils
- Submitter:
- Gioele Barabucci
- Date:
- 2026-07-31 20:37:03 UTC
- Severity:
- normal
- Tags:
Dear maintainer(s) of nfs-utils,
it appears that nfs-utils 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 nfs-utils
that use `pidof` at runtime;
* via the `Build-Depends:` field of nfs-utils, 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 nfs-utils, 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 nfs-utils uses `pidof` due to the following
code snippets:
```
path: nfs-utils_1:2.8.6-1/debian/tests/v3-mount
grep "${hello}" /mnt/hello.txt
pidof rpc.statd > /dev/null 2>&1 || {
echo "rpc.statd isn't running after the NVSv3 mount, and it should..."
exit 1
path: nfs-utils_1:2.8.6-1/debian/tests/v3-mount
# stop statd if it's running, because we will check later if it
# was started automatically for the NFSv3 mount as it should
if pidof rpc.statd > /dev/null 2>&1; then
systemctl stop rpc-statd.service > /dev/null 2>&1 || :
pidof rpc.statd > /dev/null 2>&1 && {
```
Feel free to close this issue if this is a false positive (for example
if this code is in an unreachable code path).
Regards,
Hi, I addressed the case for the autopkgtest adding a Depends there. But I won't add a Depends for nfs-common binary package providing still the init script as well. The idea is to either drop the status there or ask people who will still use the init scripts instead of the systemd units to please provide a patch moving away of the pidof usage there. Regards, Salvatore
Hi Salvatore, Thanks! That's correct. The use of pidof in initscripts has been explicitly left out of this MBF because it will be addressed separately (see for instance https://bugs.debian.org/810018#327>). Regards,
We believe that the bug you reported is fixed in the latest version of nfs-utils, 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 1136535@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Salvatore Bonaccorso <carnil@debian.org> (supplier of updated nfs-utils 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, 31 Jul 2026 20:49:30 +0200 Source: nfs-utils Architecture: source Version: 1:2.9.2-1 Distribution: unstable Urgency: medium Maintainer: Debian kernel team <debian-kernel@lists.debian.org> Changed-By: Salvatore Bonaccorso <carnil@debian.org> Closes: 1136535 Changes: nfs-utils (1:2.9.2-1) unstable; urgency=medium . * New upstream version 2.9.2 * d/t/control: v3-mount test: Add Depends on procps (Closes: #1136535) * debian/nfs.conf: Sync base version with upstream's nfs.conf Checksums-Sha1: 3d3331a5bbbfdf0d2e57a2cd80b8398304c65bd0 2667 nfs-utils_2.9.2-1.dsc 158e5c4206fc70dfb885f82a5de036c7b074475b 765692 nfs-utils_2.9.2.orig.tar.xz dda659c9287248b728c9b549e033c1857c1f29f6 50324 nfs-utils_2.9.2-1.debian.tar.xz Checksums-Sha256: e85aa3e96c61b7dd6fb2eff051118165cbdaa5a527d1bccfd6358eda420ba04f 2667 nfs-utils_2.9.2-1.dsc e1dd8a9c95af15492065942cc3b52b1339ffd586baa2280ed86c9d3dc4097e8c 765692 nfs-utils_2.9.2.orig.tar.xz e7a20b5f2d1aeba1d775bbb29b5cddb64ccb48ca7df38370ec98944f8b485a65 50324 nfs-utils_2.9.2-1.debian.tar.xz Files: 9e55c608b033fc311b6c11b3a3797c50 2667 net optional nfs-utils_2.9.2-1.dsc c398aeaa53ee5bc9ded8bc11752347e9 765692 net optional nfs-utils_2.9.2.orig.tar.xz 0facf28110baaccf4a03a4a2e467b99a 50324 net optional nfs-utils_2.9.2-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmptA3VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2 NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk ZWJpYW4ub3JnAAoJEAVMuPMTQ89EPvIQAJGbxnGko8goVyA0pOYMaPHpPAx2rieG 7ulC15gDOiYqPiERDNO4zJ+eSFHRBaO1djLpaRuXGLd+j5qIKWkCPwRWn/TgMuiW G95FK4Ey7sp0VQBgC3mgSRUmuRakqJWxY3DsuJ75GcCwJrE1sP4FAmNpO4+Bwl0m QP1m1NNzVTcqIsCQNwwOsUxK1BlgoChYa7Dj0PuVPw1EAhFPqlXP3eLPxAHqz7uX jjh92BPGrfDQSyt29vuCiBxEgmfHDhXc0qDjRTNrXn4M2g9Qh9gZR54VuUswmPOx sOkzwUXvluz2aXD7BgOq4NAnYOHvR/e5rV0A+vGQtvyHoELXleZc8qpSL+F8xG41 RBe/6GRCki3S7SMD/yUV1a9dQEoN1XdIVP9xR5MUhrK6EHxb5lZvDzBRrTqYlukD 8hQ4jqA9ZbkrG5foh7QOT6WDfmT2chdSMqUWlLTS2/LmpnPyTF8eULRnFxtgEDlz WrxV/Pxoyqmfjz9+haKT1rHMtRLmmZHGdvOAkLUQ6BPjd6A5Cl2hmtgZaYIEg9eQ rtlw2ShXYcRIQqhM7+v3aoyTQJBfaNg8MlRlyEl8UklBCfvcIH9no+27ZdfXKto3 V8VhFuzjg1bCg6gCRQgnLRRo/Be4PpY2TKeVltgUWoxSb9ORedbWi6sfcxxoeL3i vItk4qiFhYFq =DQxh -----END PGP SIGNATURE-----