Source: devscripts
Version: 2.26.8
Usertags: pidof-without-procps

Dear maintainer(s) of devscripts,

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

```
path: devscripts_2.26.6/test/test_uscan_git
    [ -n "${TEMP_SRV_DIR}" ] || fail "unexpected testsuite error"
    if pidof -q git-daemon; then
        kill `pidof git-daemon`
    fi
```

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

Regards,

-- 
Gioele Barabucci

Reply via email to