Package: resolvconf
Version: 1.79
Severity: normal
File: /sbin/resolvconf
Tags: patch

Dear Maintainer,

The /sbin/resolvconf shell script contains an unescaped ~* in a case statement
that results in a literal username lookup for "*". In some circumstances this
can cause a lot of log noise looking like this:

    nslcd[1234]: [801ee1] <passwd="*"> request denied by validnames option

See also bug #825317 which covers the same issue in another package.

The attached patch should correct this problem.


-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages resolvconf depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  ifupdown               0.8.35
ii  init-system-helpers    1.56+nmu1
ii  lsb-base               10.2019051400

resolvconf recommends no packages.

resolvconf suggests no packages.

-- debconf information excluded
--- /sbin/resolvconf.orig       2016-04-01 04:53:22.000000000 -0700
+++ /sbin/resolvconf    2020-03-16 23:28:44.972199996 -0700
@@ -34,7 +34,7 @@
          *" "*) report_iface_err "Space" ; exit 1 ;;
          .*) report_iface_err "Initial dot" ; exit 1 ;;
          -*) report_iface_err "Initial hyphen" ; exit 1 ;;
-         ~*) report_iface_err "Initial tilde" ; exit 1 ;;
+         \~*) report_iface_err "Initial tilde" ; exit 1 ;;
        esac
        ;;
   -u|--enable-updates|--disable-updates|--updates-are-enabled)

Reply via email to