Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 503974

Summary: EXPERT depends on DEBUG_KERNEL
Product: Gentoo Linux Reporter: locozenoz
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description locozenoz 2014-03-09 11:57:07 UTC
Editing init/Kconfig every update isnt funny.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-03-09 12:16:17 UTC
Missing kernel version and patchset information. Missing emerge --info output. Missing details of the exact problem.
Comment 2 locozenoz 2014-03-09 15:23:02 UTC
(In reply to Samuli Suominen from comment #1)
> Missing kernel version and patchset information. Missing emerge --info
> output. Missing details of the exact problem.

Kernels sys-kernel/gentoo-sources-3.12.13 and sys-kernel/hardened-sources-3.11.7-r1 at least.

I find posting emerge --info pointless.

The problem is that CONFIG_EXPERT depends on CONFIG_DEBUG_KERNEL without a reason, and the dependency should be removed.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-09 15:25:48 UTC
I guess you get to complain to Linus.
Comment 4 locozenoz 2014-03-09 20:19:02 UTC
(In reply to Jeroen Roovers from comment #3)
> I guess you get to complain to Linus.

This bastard quote-generator wont listen to me.
I am asking if we can do it as a Gentoo-specific patch.
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-10 09:59:43 UTC
    [[ /usr/src/linux-3.14-rc5/init/Kconfig ]]

    menuconfig EXPERT
        bool "Configure standard kernel features (expert users)"
        # Unhide debug options, to make the on-by-default options visible
        select DEBUG_KERNEL

Note the comment in the middle of that config block, it depends on it as a reason; hiding such options from experts would be [insert Linus-style expletive].

You can automatically patch the file if you want, it can be done like this:

    [[ /etc/portage/env/sys-kernel/gentoo-sources ]]

    post_pkg_postinst() {
        echo

        # Place your sed call here (change in /usr/src/linux-${PVR}-gentoo/). 

        elog "User patches applied."
    }
Comment 6 locozenoz 2014-03-10 21:02:49 UTC
(In reply to Tom Wijsman (TomWij) from comment #5)
>     [[ /usr/src/linux-3.14-rc5/init/Kconfig ]]
> 
>     menuconfig EXPERT
>         bool "Configure standard kernel features (expert users)"
>         # Unhide debug options, to make the on-by-default options visible
>         select DEBUG_KERNEL
> 
> Note the comment in the middle of that config block, it depends on it as a
> reason; hiding such options from experts would be [insert Linus-style
> expletive].
> 
> You can automatically patch the file if you want, it can be done like this:
> 
>     [[ /etc/portage/env/sys-kernel/gentoo-sources ]]
> 
>     post_pkg_postinst() {
>         echo
> 
>         # Place your sed call here (change in
> /usr/src/linux-${PVR}-gentoo/). 
> 
>         elog "User patches applied."
>     }

Yeah, but isnt it up to experts whether to see something or not?
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-11 19:04:00 UTC
You can only see as much as you know about.