Red Hat Bugzilla – Bug 501815
Searching for bugs in existing command-line utililities
Last modified: 2014-10-12 18:46:00 EDT
Description of problem:
I want to report a bug in 'wc', the word-count program, which is part of the coreutils rpm. Searching for 'coreutils' or 'wc' gives me thousands of unrelated bugs.
Version-Release number of selected component (if applicable):
bugzilla.redhat.com version 3.2
Steps to Reproduce:
1. Search for 'wc'
2. Search for 'coreutils'
A list of bug reports relating to the 'wc' command.
Typing in '/usr/bin/wc' should list just bug reports in that program.
I'd *really* like it if I could find bugs related to any particular file on the system.
Or if I could submit a list of rpms and get a list of bugs for those exact versions of the rpms, with links to either the latest rpm, or if the latest rpm has the bug, then an older, less-buggy rpm.
The original bug: wc doesn't count the last line in a file if there is no newline at the end. It's possible to have a 0-line file containing megabytes of data. Is this some kind of POSIX-compliant bug? Actually, after looking at the POSIX standard for 'wc' (http://www.opengroup.org/onlinepubs/000095399/utilities/wc.html) it turns out it is. Sigh.
This is the wrong place to file this bug, please file it under the right product that the bug is existing in.
The bug is in Bugzilla.
The program I mentioned (wc) is merely an example. The chances of finding an existing bug report on any unix command (especially a two-letter command) is next to zero. Go try it, if you don't believe me.
For another example, try the 'monit' command. Because 'monit' is a substring of 'monitor', and people do a lot of monitoring in their bug reports, it's impossible to find bug reports on monit the way Bugzilla searches for things.
If you could search for a given rpm, the problem would go away. Existing bug reports don't have rpm information, but new ones could.
Red Hat Bugzilla is now using version 3.4 of the Bugzilla codebase and
therefore this bug will need to be re-verified against the new release. With
the updated code this bug may no longer be relevant or may have been fixed in
the new code. Updating bug version to 3.4.
Searched for 'wc'... found lots of unrelated programs: problem re-verified
Searched for 'coreutils'... found policycoreutils: problem re-verified
Red Hat has now upgraded to Bugzilla 3.6 and this bug will now be reassigned to that version. It would be helpful to the Bugzilla Development Team if this bug is verified to still be an issue with the latest version. If it is no longer an issue, then feel free to close, otherwise please comment that it is still a problem and we will try to address the issue as soon as we can.
Bugzilla Development Team
Searched for 'wc' using quick and advanced search, found lots of unrelated programs: problem re-verified
Selecting 'find all words' in advanced search cut down on the nonspecific hits, but if wc isn't in the subject, is advanced search going to find it?
I'd still like to search by rpm package name or name+version.
(In reply to comment #6)
> Searched for 'wc' using quick and advanced search, found lots of unrelated
> programs: problem re-verified
Can you detail exactly how you are searching for bugs related to 'wc' and 'coreutils'? If you type these words in the quick search field in the top of the Bugzilla pages, it will find more than you are wanting to see since it will also find bugs with 'wc' in the summary and other places.
For a more specific search, I would use the query.cgi (Advanced) form to select the coreutils component from the component select list and then search as it will narrow the search significantly.
query.cgi basically AND's all of the fields together, so if you select 'coreutils' in the component list and then use 'wc' in the summary field, it will find bugs that only match both of those criteria.
Yes, that does cut down the search considerably, thanks.
I guess the problem was that the user has to determine which rpm a program comes from, using rpm -qf, and then select that rpm from the component list. If that step could be incorporated into bugzilla, it would be nice.
Is there a way to search for bugs in a particular version of an rpm?
(In reply to comment #10)
> Is there a way to search for bugs in a particular version of an rpm?
Not currently. Bugzilla doesn't store any component specific versioning. There is a "Fixed In" field which some people use to place the rpm version that has a fix but not all use and it doesn't enforce any strict format. You can do a comment search that contains a version of an rpm if someone has mentioned in there bug details maybe but not guaranteed.
Since it's the individual rpm packages that contain bugs, it would be nice if bugzilla made that link explicit, instead of having the tenuous or absent linkage that exists now. Call this a wishlist item, I guess.. :-)
Not all products in Bugzilla have a link between component and RPM. The Bugzilla product is a good example of this. Even in the Red Hat Enterprise Linux products, not all components are RPMs, and not all RPMs are components.
Although the Red Hat Bugzilla team are not responsible for the components that in the Red Hat products, I assume that they are happy with the list of components for the product.
Are you saying that, because 10% of bugzilla's use cases do not come in rpm files, that this feature would not be extremely useful?