Comment 0 for bug 1096504

Revision history for this message
Stuart Williams (stuartwilliams) wrote :

The default /etc/shorewall/shorewall.conf defines the netfilter log location on line 32: LOGFILE=/var/log/messages

/var/log/messages was removed from /etc/rsyslog.d/50-default.conf in natty, as the same information was being logged to /var/log/syslog. See changelog: https://launchpad.net/ubuntu/+source/rsyslog/4.6.4-2ubuntu4

Any shorewall command requiring netfilter logs, on a new install post-natty, fails as such:

# shorewall dump
LOGFILE (/var/log/messages) does not exist!

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: shorewall 4.4.26.1-1
Uname: Linux 3.6.5-linode47 i686
ApportVersion: 2.0.1-0ubuntu15.1
Architecture: i386
Date: Sat Jan 5 21:13:34 2013
InstallationMedia:

MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: shorewall
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.shorewall: [modified]
modified.conffile..etc.shorewall.shorewall.conf: [modified]
mtime.conffile..etc.default.shorewall: 2013-01-05T15:23:56
mtime.conffile..etc.shorewall.shorewall.conf: 2013-01-05T20:30:06