Hello,
On Thu, May 14, 2026 at 01:33:33AM +0200, Gioele Barabucci wrote:
> Source: vagrant
> Version: 2.3.7+git20230731.5fc64cde+dfsg-4
> Usertags: pidof-without-procps
>
> Dear maintainer(s) of vagrant,
[...]
> It is believed that vagrant uses `pidof` due to the following
> code snippets:
>
> ```
> path:
> vagrant_2.3.7+git20230731.5fc64cde+dfsg-4/plugins/hosts/slackware/cap/nfs.rb
> class NFS
> def self.nfs_check_command(env)
> "/sbin/pidof nfsd >/dev/null"
> end
> ```
Despite `slackware` in the path, the file seems to actually be shipped
in the vagrant binary package.
However, the same file also has:
```
vagrant-2.3.7+git20230731.5fc64cde+dfsg> grep -A1 -B1 rc.d
plugins/hosts/slackware/cap/nfs.rb
def self.nfs_start_command(env)
"/etc/rc.d/rc.nfsd start"
end
```
I thus assume this will never be executed on an actual Debian system,
but rather something running slackware.
>
> Feel free to close this issue if this is a false positive (for example
> if this code is in an unreachable code path).
I think this bug report can be closed.
Regards,
Andreas Henriksson