Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428768 - net-firewall/ufw-0.31.1 needs nf_conntrack_netbios_ns
Summary: net-firewall/ufw-0.31.1 needs nf_conntrack_netbios_ns
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Sławomir Nizio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 08:00 UTC by Branko Grubic
Modified: 2012-09-25 09:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Branko Grubic 2012-07-31 08:00:43 UTC
I installed ufw,
got message about missing support in the kernel 
ERROR: pretend
  CONFIG_NETFILTER_XT_MATCH_COMMENT:	 is not set when it should be.
  CONFIG_NETFILTER_XT_MATCH_HL:	 is not set when it should be.
  CONFIG_NETFILTER_XT_MATCH_LIMIT:	 is not set when it should be.
  CONFIG_NETFILTER_XT_MATCH_MULTIPORT:	 is not set when it should be.
  CONFIG_NETFILTER_XT_MATCH_RECENT:	 is not set when it should be.
  CONFIG_NETFILTER_XT_MATCH_ADDRTYPE:	 is not set when it should be.
fixed that 
then did 'ufw enable' and 'rc-update add ufw boot', after reboot I got a message

" * Starting ufw ...
FATAL: Module nf_conntrack_netbios_ns not found.
ip6tables-restore: line 65 failed

Problem running '/etc/ufw/before6.rules'
 * Failed to start ufw.
 [ !! ]
 * ERROR: ufw failed to start
"

There are probably two or more problems because I think this is still present after adding a needed module to the kernel (ip6tables-restore: line 65 failed) 

ufw is installed with ipv6 -examples USE flags

One small note, kernel is gentoo-sources (amd64), with default config, I just added support for hw. and fs ... basic things, didn't disable any Networking stuff, or iptables (netfilter), and later after ufw install just added what it needs to run. 

Reproducible: Always

Steps to Reproduce:
1. install ufw
2. do 'ufw enable' and rc-update add ufw boot
3. reboot
Actual Results:  
Got error message about missing module 

Expected Results:  
No error messages
Comment 1 Sławomir Nizio 2012-09-17 21:26:34 UTC
Soon the ebuild for ufw 0.31.1 will be updated to handle checking of kernel configuration for default settings in /etc/default/ufw, line IPT_MODULES.

Modules in that line are optional; if you don't need features provided by them (short description is in this file above), making the line so it looks like this:
IPT_MODULES=""
should make ufw able to run. Another solution is of course to tweak kernel configuration.

Thanks for reporting.
Comment 2 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-09-23 18:29:47 UTC
Change commited to tree.
Comment 3 Sławomir Nizio 2012-09-25 09:27:43 UTC
closing