Frogging-Family / linux-tkg

linux-tkg custom kernels
GNU General Public License v2.0
1.35k stars 171 forks source link

Single value from .myfrag not being applied #863

Open phoropter opened 10 months ago

phoropter commented 10 months ago

Describe the bug On EndeavourOS I am attempting to use a .myfrag file with the contents of:

CONFIG_KPROBES=y
CONFIG_KPROBES_ON_FTRACE=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_KPROBE_EVENTS=y
CONFIG_FTRACE=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_UPROBE_EVENTS=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y

but the last value isn't getting applied. I'm checking with this after installation and a reboot:

zcat /proc/config.gz | rg -f opensnitch.myfrag
CONFIG_KPROBES=y
CONFIG_KPROBES_ON_FTRACE=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_FTRACE=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_KPROBE_EVENTS=y
CONFIG_UPROBE_EVENTS=y

During building it does show Value of CONFIG_NETFILTER_XT_TARGET_NFQUEUE is redefined by fragment /home/user/Applications/linux-tkg/opensnitch.myfrag.

What am I doing wrong?

customization.cfg.txt prepare.log.txt shell-output.log.txt system-info.txt

AdelKS commented 10 months ago

Hello, what's the value of CONFIG_NETFILTER_XT_TARGET_NFQUEUE in /proc/config.gz ?

phoropter commented 10 months ago

It is currently CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m.

AdelKS commented 10 months ago

Try to remove that module from your modprobed-db database file, that should fix it.

phoropter commented 10 months ago

Would it be the xt_NFQUEUE entry?

AdelKS commented 10 months ago

I am not sure, try to build a kernel with that, and stop the moment you see some files getting compiled then check kernelconfig.new in your linux-tkg clone: it is the config file of the kernel being built