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

Eric Desrochers eric.desrochers at canonical.com
Fri Apr 6 12:08:55 UTC 2018


** Description changed:

  [Impact]
  
  When installing postgresql, many warning msgs are raised
  Please refer to Original Description
  
  ## Corrections
  In trusty, escaping is missing but not the same symptome. 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.
  
  [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
+  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

** Changed in: pam (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: pam (Ubuntu Artful)
   Importance: Undecided => Medium

** Description changed:

  [Impact]
  
  When installing postgresql, many warning msgs are raised
  Please refer to Original Description
  
  ## Corrections
- In trusty, escaping is missing but not the same symptome. NOT AFFECTED TO TRUSTY
+ 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

-- 
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:
  In Progress
Status in pam source package in Artful:
  In Progress
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