On Mon, 16 Jun 2025, 20:49 Stephan Helma, <s.p.he...@gmx.net> wrote:

>  From the packages mentioned, the following are marked essential
> (checked with `aptitude search '?priority(required)'`):


>         awk, coreutils, findutils, grep, login, sed
>
> The remaining packages packages are:
>
>         binutils, iproute2, net-tools, procps
>
> Should chkrootkit depend on those four packages?
>


Thanks for this. The answer here is: almost, but not quite. Neither
iproute2 nor net-tools are actually needed  --- iproute should be
installed, but both can be removed without the breakage you found. this is
nearly the definition of the recommends field, which already includes "
iproute2 | netstat ", along with an mta.

what would really help is to test with whatever you used to find the first
bug.

i have also been checking with a minimal chroot? and i find just binutils
and procps are missing. but it would be great if you could confirm

(if you do want to analyse the code you need to apply the debian patches
first - you seem to be quoting from the unpatched upstream code -  as xargs
should be in cmdlist?)


As mentioned previously, there might be more commands lurking in that
> script!
>

this should not be the case. To support the -p option the cmdlist has to
list everything. several debian patches are.making this work.properly. and
this is quite well tested by the debian autopkgtest --- we should only be
able to miss packages also used in the test itself (procps!) or which is
installed by autopkgtest machinery (binutils!)


(there can of course be bugs in any of the above)

Reply via email to