Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150697 - genkernel man page doesn't match behavior
Summary: genkernel man page doesn't match behavior
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-09 19:02 UTC by Stephen Ulmer
Modified: 2007-08-22 19:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
debugfile with default debugging level (supposedly 1, from config file) (genkernel.out,253.50 KB, text/plain)
2006-10-09 19:04 UTC, Stephen Ulmer
Details
debugfile with debug level specified as 5 (genkernel-debug5.out,258.42 KB, text/plain)
2006-10-09 19:05 UTC, Stephen Ulmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Ulmer 2006-10-09 19:02:52 UTC
The genkernel manual page states:

       --debuglevel=<0-5>
              This  controls  the out verbosity level of genkernel output - if
              this is set to 0, minimal debugging is done; if this is set to 5
              as much output as possible is given.

       --debugfile=<outfile>
              This  outputs full debugging data; regardless of --debuglevel to
              the file <outfile>. By default this is /var/log/genkernel.log.


It is not the case that --debugfile causes full debuging output regardless of verbosity level, there is a significant difference in output with and without a --debuglevel.

I'm attaching two --debugfile(s) generate with these commands:

# genkernel --lvm2 --kernel-config=/tmp/myconfig --debugfile=/tmp/genkernel.out all

# genkernel --lvm2 --kernel-config=/tmp/myconfig --debugfile=/tmp/genkernel-debug5.out --debuglevel=5 all

It doesn't matter which way this is resolved, but the man page, them embedded documentation, and the behavior ought to be consistent.
Comment 1 Stephen Ulmer 2006-10-09 19:04:26 UTC
Created attachment 99248 [details]
debugfile with default debugging level (supposedly 1, from config file)
Comment 2 Stephen Ulmer 2006-10-09 19:05:36 UTC
Created attachment 99249 [details]
debugfile with debug level specified as 5
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-21 20:16:43 UTC
This is in SVN now with the patch from bug #180161
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-22 19:54:05 UTC
Please test genkernel 3.4.9_prer1 or better.  This should be fixed now.