[Bug 1538284] Re: [SRU] Unescaped left brace in regex is deprecated

Łukasz Zemczak 1538284 at bugs.launchpad.net
Mon Apr 9 11:38:54 UTC 2018


Normally I would be weary about accepting such an SRU, as the user
impact of this bug - at least per the provided description - seems to be
purely cosmetic? Does this have any actual side effects? Every SRU
introduces some regression risk, even if the change itself is small.
Normally we'd want to wait for some more fixes to be batched together.

But seeing the number of affected people and various comments from
reporters + the fact that we did not have a pam SRU so far for both
xenial and artful, I will accept it as is.

** Changed in: pam (Ubuntu Artful)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-artful

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1538284

Title:
  [SRU] Unescaped left brace in regex is deprecated

Status in pam package in Ubuntu:
  Fix Released
Status in pam source package in Trusty:
  Won't Fix
Status in pam source package in Xenial:
  Fix Committed
Status in pam source package in Artful:
  Fix Committed
Status in pam package in Debian:
  Fix Released

Bug description:
  [Impact]

  When installing postgresql, many warning msgs are raised
  Please refer to Original Description

  ## Corrections
  In trusty, escaping is missing but not the same symptom. NOT AFFECTED TO TRUSTY

  [Test Case]

  1. create ubuntu instance
  2. apt install postgresql

  [Regression Potentials]
  This change is quite small(just escaping), and it is not code changes but getenv script which made by debian. so risk is minimal in my opinion.

  [Other info]

  Debian Bugs:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810873
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815595

  [Original Description]

  When installing postgresql on Ubuntu 16.04 (xenial), the following
  warning are raised:

  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.
  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78.

  This is due to the fact that unescaped brace are deprecated in Perl
  5.22.

  # rmadison perl
   perl | 5.18.2-2ubuntu1.3 | trusty-updates   # NOT AFFECTED
   perl | 5.22.1-9ubuntu0.2 | xenial-updates
   perl | 5.26.0-8ubuntu1   | artful
   perl | 5.26.1-5          | bionic

  Info:

  root at xenial:/var/log/imscp# lsb_release
  No LSB modules are available.
  root at xenial:/var/log/imscp# lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu Xenial Xerus (development branch)
  Release:	16.04
  Codename:	xenial

  Howto reproduce:

  aptitude install postgresql

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



More information about the foundations-bugs mailing list