[Bug 1532252] [NEW] Unescaped left brace in regex is deprecated

Mikaela Suomalainen mikaela at mikaela.info
Fri Jan 8 16:07:31 UTC 2016


Public bug reported:

I have started seeing this error in my logwatch reports.

```
--------------------- 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 ------------------------- 
```

```

 --------------------- 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 ------------------------- 
```

```
--------------------- Connections (secure-log) Begin ------------------------ 

 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/krb5kdc\[[0-9]*\]: (AS_REQ|TGS_REQ) \([0-9]+ etypes { <-- HERE [ 0-9]+}\) ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+): (ISSUE|UNKNOWN_SERVER): authtime [0-9]+, (?:etypes {rep=[0-9]+ tkt=[0-9]+ ses=[0-9]+},)? ([^ ]+) for ([^ ,]+)(?:, )?(.*)$/ at /usr/share/logwatch/scripts/services/secure line 509.
 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/krb5kdc\[[0-9]*\]: (AS_REQ|TGS_REQ) \([0-9]+ etypes {[ 0-9]+}\) ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+): (ISSUE|UNKNOWN_SERVER): authtime [0-9]+, (?:etypes { <-- HERE rep=[0-9]+ tkt=[0-9]+ ses=[0-9]+},)? ([^ ]+) for ([^ ,]+)(?:, )?(.*)$/ at /usr/share/logwatch/scripts/services/secure line 509.
 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/krb5kdc\[[0-9]*\]: (AS_REQ|TGS_REQ) \([0-9]+ etypes { <-- HERE [ 0-9]+}\) ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+): (NEEDED_PREAUTH|PREAUTH_FAILED|CLIENT_NOT_FOUND): ([^ ]+) for ([^ ,]+)(?:, )?(.*)$/ at /usr/share/logwatch/scripts/services/secure line 518.

 **Unmatched Entries**
```

and after that everything was normal again.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: logwatch 7.4.1-2ubuntu2
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: MATE
Date: Fri Jan  8 18:03:24 2016
InstallationDate: Installed on 2015-12-12 (27 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151212)
PackageArchitecture: all
SourcePackage: logwatch
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: logwatch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to logwatch in Ubuntu.
https://bugs.launchpad.net/bugs/1532252

Title:
  Unescaped left brace in regex is deprecated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/1532252/+subscriptions



More information about the Ubuntu-server-bugs mailing list