Bug 1181504 - shorewall does not load very important helper modules
Summary: shorewall does not load very important helper modules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: shorewall
Version: 21
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-13 10:24 UTC by Artur
Modified: 2015-03-10 00:54 UTC (History)
3 users (show)

Fixed In Version: shorewall-4.6.6.2-3.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-10 00:54:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Output of "shorewall trace start" (161.96 KB, text/plain)
2015-01-13 10:29 UTC, Artur
no flags Details

Description Artur 2015-01-13 10:24:54 UTC
Description of problem:

Shorewall cannot find some (or even all?) helper modules, because it looks for *.ko files, but all modules in kernel/net/ipv4/netfilter directory are compressed, names end with .ko.xz. As a consequence some important modules, like nf_nat_ftp, a not being loaded at start. They a not loaded automatically at later time either.

Version-Release number of selected component (if applicable):

shorewall-4.6.5.3-1.fc21.noarch
shorewall-core-4.6.5.3-1.fc21.noarch

How reproducible:

Always.

Steps to Reproduce:
1. install shorewall
2. turn off other solutions for controlling linux firewall
3. reboot or unload all helper modules
4. start shorewall
5. run lsmod | grep nf_nat_ftp

Actual results:

Empty output

Expected results:

nf_nat_ftp

Additional info:

Reporting it here, because I think it is distro specific, not a general problem with shorewall (specific patch is needed for Fedora).

Adding output of "shorewall trace start" as an attachment.

Comment 1 Artur 2015-01-13 10:29:22 UTC
Created attachment 979539 [details]
Output of "shorewall trace start"

Comment 2 Fedora Admin XMLRPC Client 2015-01-25 14:44:02 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Orion Poplawski 2015-01-26 16:38:55 UTC
Workaround is to set in shorewall.conf:

MODULE_SUFFIX=ko.xz

I'll try to get that see properly by default.

Comment 4 Fedora Update System 2015-02-24 17:50:33 UTC
shorewall-4.6.6.2-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/shorewall-4.6.6.2-2.fc21

Comment 5 Fedora Update System 2015-02-25 13:24:44 UTC
Package shorewall-4.6.6.2-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing shorewall-4.6.6.2-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2474/shorewall-4.6.6.2-2.fc21
then log in and leave karma (feedback).

Comment 6 lnie 2015-02-26 07:41:55 UTC
shorewall-4.6.6.2-2.fc21 works

Comment 7 Artur 2015-02-26 07:59:55 UTC
A little problem with shorewall6-4.6.6.2-2.fc21.noarch.rpm:

  Updating           : shorewall6-4.6.6.2-2.fc21.noarch                                                                                      3/6 
warning: /etc/shorewall6/shorewall6.conf created as /etc/shorewall6/shorewall6.conf.rpmnew
sed: can't read /etc/shorewall/shorewall6.conf: No such file or directory
warning: %post(shorewall6-4.6.6.2-2.fc21.noarch) scriptlet failed, exit status 2
Non-fatal POSTIN scriptlet failure in rpm package shorewall6-4.6.6.2-2.fc21.noarch

Shorewall6 should not touch /etc/shorewall directory.

Comment 8 Fedora Update System 2015-02-27 09:25:33 UTC
Package shorewall-4.6.6.2-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing shorewall-4.6.6.2-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2474/shorewall-4.6.6.2-3.fc21
then log in and leave karma (feedback).

Comment 9 Artur 2015-02-27 16:18:41 UTC
Seems to be OK now. Thank You.

Comment 10 Fedora Update System 2015-03-10 00:54:57 UTC
shorewall-4.6.6.2-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.