[Bug 1538284] Re: [SRU] Unescaped left brace in regex is deprecated
Seyeong Kim
seyeong.kim at canonical.com
Tue Apr 10 01:11:40 UTC 2018
Hello, Thanks for your cooperation.
Tested on Xenial
1. create xenial instance
2. add proposed repository
3. apt install libpam-runtime
4. apt install postgresql
warnings are gone.
Thanks!
dpkg -l | grep pam
ii libpam-modules:amd64 1.1.8-3.2ubuntu2 amd64 Pluggable Authentication Modules for PAM
ii libpam-modules-bin 1.1.8-3.2ubuntu2 amd64 Pluggable Authentication Modules for PAM - helper binaries
ii libpam-runtime 1.1.8-3.2ubuntu2.1 all Runtime support for the PAM library
ii libpam-systemd:amd64 229-4ubuntu21.1 amd64 system and service manager - PAM module
ii libpam0g:amd64 1.1.8-3.2ubuntu2 amd64 Pluggable Authentication Modules library
** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial
--
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