- Package:
- src:openscap
- Source:
- src:openscap
- Submitter:
- Gioele Barabucci
- Date:
- 2026-09-04 13:55:02 UTC
- Severity:
- normal
- Tags:
Dear maintainer(s) of openscap,
it appears that openscap 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 openscap
that use `pidof` at runtime;
* via the `Build-Depends:` field of openscap, 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 openscap, 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 openscap uses `pidof` due to the following
code snippets:
```
path: openscap_1.4.3+dfsg-1/tests/probes/systemdunitdependency/test_probes_systemdunitdependency.sh
function test_probes_systemdunitdependency {
probecheck "systemdunitdependency" || return 255
pidof systemd > /dev/null || return 255
systemctl > /dev/null 2>&1 || return 255
path: openscap_1.4.3+dfsg-1/tests/oval_details/test_oval_details.sh
test_run "test_oval_details_rpminfo_object_implicit" test_oval_details_implicit rpminfo "name.*release.*version" "rpm"
test_run "test_oval_details_rpminfo_object_explicit" test_oval_details_explicit rpminfo "name.*release.*version" "rpm"
if ! pidof systemd > /dev/null ; then
test_run "test_oval_details_runlevel_object_implicit" test_oval_details_implicit runlevel "service name.*runlevel" "smartd"
test_run "test_oval_details_runlevel_object_explicit" test_oval_details_explicit runlevel "service name.*runlevel" "smartd"
path: openscap_1.4.3+dfsg-1/tests/probes/systemdunitproperty/test_probes_systemdunitproperty_offline_mode.sh
probecheck "systemdunitproperty" || return 255
pidof systemd > /dev/null || return 255
local ret_val=0;
path: openscap_1.4.3+dfsg-1/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.sh
function test_probes_systemdunitproperty {
probecheck "systemdunitproperty" || return 255
pidof systemd > /dev/null || return 255
systemctl > /dev/null 2>&1 || return 255
path: openscap_1.4.3+dfsg-1/tests/probes/systemdunitdependency/test_probes_systemdunitdependency_offline_mode.sh
probecheck "systemdunitdependency" || return 255
pidof systemd > /dev/null || return 255
local ret_val=0;
path: openscap_1.4.3+dfsg-1/tests/probes/systemdunitproperty/test_probes_systemdunitproperty_mount_wants.sh
function test_probes_systemdunitproperty_mount_wants {
probecheck "systemdunitproperty" || return 255
pidof systemd > /dev/null || return 255
systemctl show -- -.mount | grep -Eq "Wants=\S+" || return 255
```
Feel free to close this issue if this is a false positive (for example
if this code is in an unreachable code path).
Regards,
Hello, Bug #1136544 in openscap 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/openscap/-/commit/497cc0f5f160c38a72ccee25f2a8e18335fe3a46 (this message was generated automatically) -- Greetings https://bugs.debian.org/1136544
We believe that the bug you reported is fixed in the latest version of openscap, 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 1136544@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Håvard F. Aasen <havard.f.aasen@pfft.no> (supplier of updated openscap 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, 04 Sep 2026 14:51:12 +0200 Source: openscap Architecture: source Version: 1.4.4+dfsg-2 Distribution: unstable Urgency: medium Maintainer: Håvard F. Aasen <havard.f.aasen@pfft.no> Changed-By: Håvard F. Aasen <havard.f.aasen@pfft.no> Closes: 1136544 1145858 Changes: openscap (1.4.4+dfsg-2) unstable; urgency=medium . [ Håvard F. Aasen ] * Add procps as BD, Closes: #1136544 * Add patch to fix malformed groff markup . [ Eduardo Barretto ] * Revert "Stop installing /usr/share/openscap/cpe" . [ Rafael Laboissière ] * Add patch for fixing FTBFS with swig 4.5.0 (Closes: #1145858) Checksums-Sha1: fd36e2d7388eeb8460e5c8500caf4d1f8fa49e95 2344 openscap_1.4.4+dfsg-2.dsc 102b52107da72c610dd585d00605907ee9d37929 24716 openscap_1.4.4+dfsg-2.debian.tar.xz 534a700b8ecc76d0562bdfd7b0db228fafab01a3 16179 openscap_1.4.4+dfsg-2_amd64.buildinfo Checksums-Sha256: 2058410da23fcd5931c7372ddf57e9d841cb2fbcefeb723898fdc6873eb7ad66 2344 openscap_1.4.4+dfsg-2.dsc 0661509c61d1366398373f5d06d1a55a7154de79a50a7e0d316bdc563060d38a 24716 openscap_1.4.4+dfsg-2.debian.tar.xz 458131bd7659efb462412c9d49f6e01c7a9443ac34dee8ada907cbc7b0e52863 16179 openscap_1.4.4+dfsg-2_amd64.buildinfo Files: cf98c5fec072fb12c5142a72aa6fb523 2344 admin optional openscap_1.4.4+dfsg-2.dsc 86ea9d32535f70ea84f7db6bd2492125 24716 admin optional openscap_1.4.4+dfsg-2.debian.tar.xz 6427e70312a46c7c4a9ecacc441b6ec5 16179 admin optional openscap_1.4.4+dfsg-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQSD/42dLkLq3fzhpN2I4w6v/UfCtwUCaprA5RccaGF2YXJkLmYu YWFzZW5AcGZmdC5ubwAKCRCI4w6v/UfCtyffAP0STalb5dN7OlFVwLQ3xLnwVzJf V6sifDktug9Nf2oySwD+PRFARKBsUuHgwkP6pwfX2IQ2wVS4syfq+bWW65oNyQ8= =MXUW -----END PGP SIGNATURE-----