pam-auth-update does not correctly process a valid profile file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
Fix Released
|
High
|
Steve Langasek | ||
Intrepid |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
Binary package hint: libpam-runtime
Working with libpam-runtime 1.0.1-4ubuntu5 in intrepid.
I've put together a profile for pam-auth-update to use. For some reason, it doesn't like the session-related fields I have, despite them appearing to be well-formed. Attached is a (somewhat) minimal example that triggers the bug.
When I run pam-auth-update to enable the new profile, I get this mess (after returning from the debconf dialog):
# pam-auth-update
Use of uninitialized value $3 in split at /usr/sbin/
Use of uninitialized value $modline in substitution (s///) at /usr/sbin/
Use of uninitialized value $mod in substitution (s///) at /usr/sbin/
Use of uninitialized value $mod in hash element at /usr/sbin/
Use of uninitialized value $mod in hash element at /usr/sbin/
Use of uninitialized value $modline in concatenation (.) or string at /usr/sbin/
Use of uninitialized value $3 in split at /usr/sbin/
Use of uninitialized value $modline in substitution (s///) at /usr/sbin/
Use of uninitialized value $mod in substitution (s///) at /usr/sbin/
Use of uninitialized value $mod in hash element at /usr/sbin/
Use of uninitialized value $mod in hash element at /usr/sbin/
Use of uninitialized value $modline in concatenation (.) or string at /usr/sbin/
Use of uninitialized value $3 in split at /usr/sbin/
Use of uninitialized value $modline in substitution (s///) at /usr/sbin/
Use of uninitialized value $mod in substitution (s///) at /usr/sbin/
Use of uninitialized value $mod in hash element at /usr/sbin/
Use of uninitialized value $mod in hash element at /usr/sbin/
Use of uninitialized value $modline in concatenation (.) or string at /usr/sbin/
Unfortunately, /etc/pam.
# and here are more per-package modules (the "Additional" block)
session required pam_unix.so
session optional pam_krb5.so minimum_uid=20000
session
session
session
# end of pam-auth-update config
Then, when I go to disable the profile, the below comes up just before the debconf dialog:
# pam-auth-update
Use of uninitialized value $3 in split at /usr/sbin/
Use of uninitialized value $curmod in quotemeta at /usr/sbin/
Use of uninitialized value $3 in split at /usr/sbin/
Use of uninitialized value $curmod in quotemeta at /usr/sbin/
Use of uninitialized value $3 in split at /usr/sbin/
Use of uninitialized value $curmod in quotemeta at /usr/sbin/
Changed in pam: | |
assignee: | nobody → vorlon |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in pam: | |
assignee: | nobody → vorlon |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: |
added: verification-done removed: verification-needed |
what is the fix for this? Will it be added to intrepid-updates?