Your message dated Wed, 04 Jan 2017 17:34:08 +0000 with message-id <[email protected]> and subject line Bug#810873: fixed in pam 1.1.8-3.5 has caused the Debian Bug report #810873, regarding libpam-runtime: pam_getenv emits perl warning "Unescaped left brace in regex..." to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 810873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810873 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libpam-runtime Version: 1.1.8-3.3 Severity: normal Tags: patch Dear Maintainer, % /usr/sbin/pam_getenv foo Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<!\\)\${ <-- HERE ([^}]+)}/ at /usr/sbin/pam_getenv line 78. % /usr/sbin/pam_getenv-patched foo % diff -u /usr/sbin/pam_getenv /usr/sbin/pam_getenv-patched --- /usr/sbin/pam_getenv 2016-05-18 02:19:59.000000000 +0200 +++ /usr/sbin/pam_getenv-patched 2016-09-18 21:26:13.747245752 +0200 @@ -75,7 +75,7 @@ my ($val) = @_; return undef unless $val; die "Cannot handle PAM items\n" if /(?<!\\)\@/; - $val =~ s/(?<!\\)\${([^}]+)}/$ENV{$1}||""/eg; + $val =~ s/(?<!\\)\$\{([^}]+)}/$ENV{$1}||""/eg; return $val; } The lines above show that /usr/sbin/pam_getenv issues a warning from perl. With my patched version the warning is fixed. The diff showing what my patch did. The patch is backwards compatible to any perl. My perl is: % dpkg -l perl Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===================-==============-==============-=========================================== ii perl 5.22.2-5 amd64 Larry Wall's Practical Extraction and Repor On my system I saw this warning during the installation of postgresql-9.5. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-1-amd64 (SMP w/6 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam-runtime depends on: ii debconf [debconf-2.0] 1.5.59 ii libpam-modules 1.1.8-3.3 libpam-runtime recommends no packages. libpam-runtime suggests no packages. -- debconf information: libpam-runtime/title: libpam-runtime/profiles: unix, systemd libpam-runtime/override: false libpam-runtime/conflicts: libpam-runtime/no_profiles_chosen:
--- End Message ---
--- Begin Message ---Source: pam Source-Version: 1.1.8-3.5 We believe that the bug you reported is fixed in the latest version of pam, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Adam Borowski <[email protected]> (supplier of updated pam package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 30 Dec 2016 14:37:29 +0100 Source: pam Binary: libpam0g libpam-modules libpam-modules-bin libpam-runtime libpam0g-dev libpam-cracklib libpam-doc Architecture: source Version: 1.1.8-3.5 Distribution: unstable Urgency: medium Maintainer: Steve Langasek <[email protected]> Changed-By: Adam Borowski <[email protected]> Description: libpam-cracklib - PAM module to enable cracklib support libpam-doc - Documentation of PAM libpam-modules - Pluggable Authentication Modules for PAM libpam-modules-bin - Pluggable Authentication Modules for PAM - helper binaries libpam-runtime - Runtime support for the PAM library libpam0g - Pluggable Authentication Modules library libpam0g-dev - Development files for PAM Closes: 810873 846459 Changes: pam (1.1.8-3.5) unstable; urgency=medium . * Non-maintainer upload. * Build-Depend on libfl-dev:native as well, for cross builds. Re-closes: #846459 * Fix "Unescaped left brace in regex" with Perl 5.22. Closes: #810873 Checksums-Sha1: b08cab4dec1b5fd88173e967b4d26a43f87642c2 2572 pam_1.1.8-3.5.dsc 715d9de4ec59b028011642828be5bd085f6f3d35 139150 pam_1.1.8-3.5.diff.gz Checksums-Sha256: 9f7dff8ae2e0a20e4d7ad267d2843aefed721b06c56276e9308a276e1a04c6d0 2572 pam_1.1.8-3.5.dsc 6991af2b57eeffbe35a176c48e6c926631886eba4b8e33ae2eaffda44d7eb98e 139150 pam_1.1.8-3.5.diff.gz Files: 7c831751c2621d9c1c1db2bc8380c083 2572 libs optional pam_1.1.8-3.5.dsc 7d64335c8d91ba29320b65b18fbdc0ab 139150 libs optional pam_1.1.8-3.5.diff.gz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAlhtLloACgkQTFprqxLS p65RpBAAqOvHBS7CW/NBAfLBJ/pNLor+H9iPft/ZGlzj02jtIyXS62TG/J95vXkR +SPevab2GUoxKvIgLFDdLcrW+++Nt7dT9pkif1X3xbUsEpLDH9TOipLInx4AA8yU H2zSXqDqbKXL0x8R8GWefwUQJ+4njMLAFhmW8QcrBtCIrkw77uowtye0V2CakWdh /qeOOfeqAsLMlaI5LHhOX+hIhHX5ocXNB7xAxcSwjgImcF9dmEEMrckIXF0pmwTL RkSiw23oLLH2r4YtoZ58FixlnTTsDUySE5VxFGBnV71UdFkd1bClVGM0+4ZoKH7q QGoxl+FM2rovISfqYNJVcoQY5GCF3MGPQV0tYOV6FeRakV2in3qe5nWpESwF+MPQ pre7qjJPLZzhg8cYZqdeQab7o9Ehs67CLi0brsWpL/6NwgBQRPEHrcCINEI6DDlm kQrYGHn6HESSFCR6BIB9EB9zwe4iVKzU4H/jfM/KuBRQVvGgaXUcPgPn1Tgxfvp4 0In0dMcvkZrKVxBx+SFxo3NNbBjm/ZU+ozhtpCV3Q7DIpyXFPZBtWRjSuYxE0d5A rIH/4BBtyWtcgEpIcM8Ms8CCAVdXo8sT86pqyiHsZ2iAUtl/glFZYwV3eL80xTBE P4L9Zi38+60yyCmV5gIpXViSX0GxTZYrbiEHrT4whAC/TYuxqvE= =spsb -----END PGP SIGNATURE-----
--- End Message ---

