*** This bug is a duplicate of bug 1538284 ***
    https://bugs.launchpad.net/bugs/1538284

Disclaimer, I am not a regex expert.

But changing line 78 of /usr/sbin/pam_getenv from

$val =~ s/(?<!\\)\${([^}]+)}/$ENV{$1}||""/eg;

to

$val =~ s/(?<!\\)\$\{([^}]+)\}/$ENV{$1}||""/eg;

seems to eliminate the error?


** Attachment added: "hopefully fixed /usr/sbin/pam_getenv"
   
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1545904/+attachment/4618449/+files/pam_getenv

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

Title:
  Several regex warnings when installing latest postgres update

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to