Bug#824034: Fwd: Bug#824034: $ignore_services breaks on close parentheses

Willi Mann <[email protected]> Tue, 26 Jul 2016 19:41:24 +0200
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Hi,

here is a bug report with a proposed patch concerning the specification
of services to ignore in the secure script.

Bye
Willi


-------- Weitergeleitete Nachricht --------
Betreff: Bug#824034: $ignore_services breaks on close parentheses
Weitersenden-Datum: Wed, 11 May 2016 15:15:02 +0000
Weitersenden-Von: Jonny Lamb <[email protected]>
Weitersenden-An: [email protected]
Weitersenden-CC: Willi Mann <[email protected]>
Datum: Wed, 11 May 2016 16:12:53 +0100
Von: Jonny Lamb <[email protected]>
Antwort an: Jonny Lamb <[email protected]>, [email protected]
An: [email protected]

Package: logwatch
Version: 7.4.3-1
Severity: normal
Tags: patch

The "secure" script's $ignore_services option is space separated but
uses \b to match items, which breaks when a service name ends in a close
parenthesis (such as "wordpress(example.com)").

Here's a patch that fixes the problem here. Use a different approach if
you fancy.

Cheerio,