Bug 213613 - grouplist not giving output for debuglevel 0 or 1
Summary: grouplist not giving output for debuglevel 0 or 1
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 6
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: James Antill
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-02 10:37 UTC by Tomasz Kepczynski
Modified: 2014-01-21 22:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-08-03 19:32:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tomasz Kepczynski 2006-11-02 10:37:45 UTC
Description of problem:
I tried to get grouplist as below:
$ sudo yum -d 0 grouplist
and yum did not output a thing. The same problem with:
$ sudo yum -d 1 grouplist
This is probably due to usage of debig output functions instead
normal output functions.

Version-Release number of selected component (if applicable):
yum-2.6.1-0.fc5.noarch

How reproducible:
always

Actual results:
No output.

Expected results:
List of groups.

Comment 1 Jeremy Katz 2007-04-25 18:44:01 UTC
-d0 and -d1 only show errors and warnings, respectively.  Nothing which is just
info (including things like grouplists)

Comment 2 Tomasz Kepczynski 2007-04-26 04:45:23 UTC
1. I do not agree. When program's normal behaviour is to produce
some output, it should do so without turning debugging on. And
output in this case is implied by command line arguments.
2. When closing as NOTABUG you should at least provide some reasoning
why it is not considered a bug.
3. This also does not work on FC6, updating version and reopening.

Comment 3 Tomasz Kepczynski 2007-04-26 04:49:22 UTC
Sorry for #2 above, I missed your explanation.
Anyway - I may want to take output from yom for further processing
and I want to see ONLY what I requested. -d0 and -d1 show nothing, 
-d2 adds some irrelevant info like below:
Loading "fedorakmod" plugin
Loading "installonlyn" plugin
Loading "allowdowngrade" plugin
Loading "protectbase" plugin
Loading "skip-broken" plugin
Loading "priorities" plugin
Loading "kernel-module" plugin
Loading "downloadonly" plugin
Setting up Group Process
Setting up repositories
Installed Groups:
   Office/Productivity
...
Which is out of interest in such a case.
As I mentioned in initial report - normal output should not
go through debug facilities!



Note You need to log in before you can comment on or make changes to this bug.