FS#48155 - [logwatch] Regexp should be updated to work with Perl 5.22
Attached to Project:
Community Packages
Opened by Aurelieng (aurelieng) - Friday, 12 February 2016, 14:02 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 12 February 2016, 14:45 GMT
Opened by Aurelieng (aurelieng) - Friday, 12 February 2016, 14:02 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 12 February 2016, 14:45 GMT
|
Details
Description:
The logwatch output contains messages about the deprecation of unescaped left brace in regex, for Amavisd-new, http and Postfix. This is probably linked to the upgrade to Perl 5.22, as described here: http://foswiki.org/Tasks/Item13423 Output: --------------------- Amavisd-new Begin ------------------------ Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(CLEAN|SPAM(?:MY)?|INFECTED (.*?)|BANNED (.*?)|BAD-HEADER(?:-d)?|UNCHECKED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: { <-- HERE [^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), (?:.*Hits: ([-+.d]+))(?:.* size: (d+))?(?:.* autolearn=(w+))?/ at /usr/share/logwatch/scripts/services/amavis line 2286. ---------------------- Amavisd-new End ------------------------- --------------------- httpd Begin ------------------------ Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/G%{ <-- HERE Referer}i/ at /usr/share/logwatch/scripts/services/http line 313. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/G%{ <-- HERE User-Agent}i/ at /usr/share/logwatch/scripts/services/http line 316. ---------------------- httpd End ------------------------- --------------------- Postfix Begin ------------------------ Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^Config: { <-- HERE / at /usr/share/logwatch/scripts/services/postfix line 1850. ---------------------- Postfix End ------------------------- Additional info: * logwatch 7.4.1-1 * perl 5.22.1-1 Steps to reproduce: Run logwatch. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 12 February 2016, 14:45 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#46057
Friday, 12 February 2016, 14:45 GMT
Reason for closing: Duplicate
Additional comments about closing: