logfile '/var/log/messages' in upstream config does not exist

Bug #1096504 reported by Stuart Williams
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
shorewall (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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!

Tags: patch
Revision history for this message
Stuart Williams (stuartwilliams) wrote :
description: updated
tags: removed: apport-bug i386 precise
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "change logfile in shorewall.conf to /var/log/syslog" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in shorewall (Ubuntu):
status: New → Confirmed
Revision history for this message
Kurt Huwig (k-huwig-f) wrote :

The patch fixes the problem for me

Revision history for this message
ButterflyOfFire (butterflyoffire) wrote :

Hello, thank you for the tip ;)

By default /etc/shorewall/shorewall.conf defines : LOGFILE=/var/log/messages

After I edited /etc/shorewall/shorewall.conf I replaced LOGFILE=/var/log/messages by /var/log/syslog
Now on Webmin I can see the dump :)

Thank you very much :)

Revision history for this message
ilia (ilia) wrote :

The bug is still present in 16.06 xenial, shorewall-5.0.4-1 package. The patch is really easy, please integrate.

Revision history for this message
BCSharp (bcsharp) wrote :

The bug is still present in 18.06 LTS bionic, shorewall- 5.1.12.2-1 package. The patch is really easy, why is it taking so long to integrate?

Revision history for this message
Kyle J. McKeown (drift91) wrote :

It's currently 2024 and this still has not been fixed. This has been broken for over a decade, why?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.