Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29067 - [shorewall] does not launch

Attached to Project: Community Packages
Opened by David Shih (rwarlord) - Friday, 23 March 2012, 01:30 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 24 March 2012, 03:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

shorewall does not launch. Critical files appear to be missing.


Additional info:

$ pacman -Qs shorewall
local/shorewall 4.5.1.1-1
An iptables-based firewall for Linux systems
local/shorewall-core 4.5.1.1-1
Core Shorewall libraries

$ uname -a
Linux node 3.2.12-1-ARCH #1 SMP PREEMPT Mon Mar 19 17:50:01 CET 2012 x86_64 AMD Athlon(tm) II X2 250 Processor AuthenticAMD GNU/Linux

Steps to reproduce:

$ shorewall
/sbin/shorewall: line 30: /usr/share/shorewall/lib.cli: No such file or directory

/usr/share/shorewall/lib.cli does not exist; instead, lib.cli-std does.

$ ln -s /usr/share/shorewall/lib.cli-std /usr/share/shorewall/lib.cli

But now shorewall gives another error regarding another missing file.

$ shorewall
/sbin/shorewall: line 32: shorewall_cli: command not found

shorewall_cli is no where to be found...
It does not appear to be defined within /usr/shar/shorewall/lib.cli-std either.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Saturday, 24 March 2012, 03:28 GMT
Reason for closing:  Not a bug
Comment by Evangelos Foutras (foutrelis) - Friday, 23 March 2012, 12:51 GMT
Looks like there is something wrong with your shorewall-core package.

The lib.cli file you were missing is part of the shorewall-core package, and shorewall_cli() is a function it defines:

[root@vps ~]# pacman -Qo /usr/share/shorewall/lib.cli
/usr/share/shorewall/lib.cli is owned by shorewall-core 4.5.1.1-1

[root@vps ~]# grep -r shorewall_cli /usr/share/shorewall
/usr/share/shorewall/lib.cli:shorewall_cli() {

Please remove the symlink you created and reinstall both packages (pacman -S shorewall{,-core}).
Comment by David Shih (rwarlord) - Saturday, 24 March 2012, 00:08 GMT
Indeed, my shorewall-core must have been incorrected updated.
I didn't check shorewall-core for the 'missing' file.
I have re-installed shorewall-core, and it's now business as usual.
Thank you!

Loading...