NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/49119: NPF not loaded and active after boot
>Number: 49119
>Category: kern
>Synopsis: NPF not loaded and active after boot
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 15 16:05:00 +0000 2014
>Originator: J. Lewis Muir
>Release: 6.1.4
>Organization:
>Environment:
NetBSD violin.my.domain 6.1.4 NetBSD 6.1.4 (GENERIC) amd64
>Description:
After adding "npf=YES" to /etc/rc.conf and rebooting, NPF is not loaded nor
active:
===
# npfctl show
Filtering: inactive
Configuration: empty
===
But it should be loaded and active.
>How-To-Repeat:
1. Create a super simple /etc/npf.conf containing the following:
===
group (default) {
pass final all
}
===
2. Add "npf=YES" to /etc/rc.conf.
3. Reboot: "shutdown -r now".
4. Check the status of NPF:
===
# npfctl show
Filtering: inactive
Configuration: empty
===
>Fix:
I don't have a fix, but I do have a workaround. I'm wondering if somehow the
npf kernel module is erroneously getting automatically unloaded. My workaround
is to add the following to /etc/rc.local:
===
/sbin/modunload npf
/sbin/modload npf
/sbin/npfctl reload
/sbin/npfctl start
===
Now, after booting, NPF is loaded and active:
===
# npfctl show
Filtering: active
Configuration: loaded
group (default) {
pass final all
}
===
Home |
Main Index |
Thread Index |
Old Index