Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single value from .myfrag not being applied #863

Open
phoropter opened this issue Dec 29, 2023 · 5 comments
Open

Single value from .myfrag not being applied #863

phoropter opened this issue Dec 29, 2023 · 5 comments

Comments

@phoropter
Copy link

phoropter commented Dec 29, 2023

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
Copy link
Collaborator

AdelKS commented Dec 29, 2023

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

@phoropter
Copy link
Author

It is currently CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m.

@AdelKS
Copy link
Collaborator

AdelKS commented Dec 29, 2023

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

@phoropter
Copy link
Author

Would it be the xt_NFQUEUE entry?

@AdelKS
Copy link
Collaborator

AdelKS commented Dec 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants