Hello Andrew Lawrence DeMarsh.
Thanks for your bug report.
You can see /etc (among many others) being included in the list of
directories to search for binaries in
http://sources.debian.net/src/util-linux/2.27.1-3/misc-utils/whereis.c/#L96
Still /etc is full of binaries, not the least in /etc/init.d for example.
"binary" is only about limiting the search paths, not about the files
being binary. The file name matches the search string.
It seems to me your expectations are closer to those provided by
the 'which' utility. Maybe you should look into using that instead.
Either way, the reported issue is definitely not Debian-specific
and should be discussed on the upstream mailing list and handled
via the standard upstream development process. I'm thus marking
this with the tags for upstream as well as wontfix. The wontfix
means that in case someone comes up with a patch I'm not willing
to deviate from upstream behaviour by applying it only in Debian.
If changes happen upstream I'm ofcourse happy to incorporate them
in Debian (assuming they don't cause any major Debian-specific
regressions which I consider unlikely).
Regards,
Andreas Henriksson