Bug 835211
| Summary: | which vs. whereis | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> |
| Component: | util-linux | Assignee: | Karel Zak <kzak> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | jonathan, kzak, mluscon, rvokal, than, tmraz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-10-24 10:31:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Bill Nottingham
2012-06-25 19:29:17 UTC
I think given the disclaimer in whereis manpage this is NOTABUG. whereis has a hard-coded path, so may not always find what you're looking for. (In reply to comment #1) > whereis has a hard-coded path, so may not always find what you're looking > for. The note in the man page is obsolete (I'll fix it), the latest version also follows $PATH. Anyway, I think that whereis(1) should be smart enough to work with symlinks. We're working upstream to improve the whereis(1) command. Note that the problem is already fixed in upstream tree and the change will be available for F19/RHEL7. |