Does not start with 3.x kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apf-firewall (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
apf-firewall checks the kernel version if it matches 2.4 or 2.6 and quits if the kernel has a different version (due to the module extension set to "o" or "ko" respectively.
Because oneiric uses the 3.0.x kernel, apf-firewall does not start and errors out with the "Kernel version not equal to 2.4.x or 2.6.x, aborting." error.
Since 3.0.x uses the same extension as 2.6.x a simple fix would be to extend the check and simply add 3.0.x to the list.
The corresponding code is located in /etc/apf-
elif [ "$KREL" == "3.0" ]; then
MEXT="ko"
or changing the 2.6 check to use OR. BTW, it looks like the next few lines are not needed (the else is enough).
Thanks for reading the report. :)
Release: Ubuntu 11.10
Package version: 9.7+rev1-3
Status changed to 'Confirmed' because the bug affects multiple users.