pam-auth-update duplicates Additional block every time I run it

Bug #260371 reported by Colin Watson
2
Affects Status Importance Assigned to Milestone
pam (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

Every time I run pam-auth-update (no matter what the options, and even if I cancel the debconf prompt), it duplicates the pam_smbpass and pam_ecryptfs items in the Additional block in /etc/pam.d/common-*, although not the pam_unix item.

$ sudo DEBCONF_DEBUG=developer /usr/sbin/pam-auth-update
debconf (developer): frontend started
debconf (developer): Trying to find a templates file..
debconf (developer): Trying /usr/sbin/pam-auth-update.templates
debconf (developer): Trying /usr/share/debconf/templates/pam-auth-update.templates
debconf (developer): Couldn't find a templates file.
debconf (developer): frontend running, package name is
debconf (developer): starting /usr/sbin/pam-auth-update
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- CAPB backup
debconf (developer): --> 0 multiselect escape backup
debconf (developer): <-- X_LOADTEMPLATEFILE /var/lib/dpkg/info/libpam-runtime.templates libpam-runtime
debconf (developer): --> 0
debconf (developer): <-- SUBST libpam-runtime/profiles profile_names unix, smbpasswd-migrate, ecryptfs-utils
debconf (developer): --> 0
debconf (developer): <-- SUBST libpam-runtime/profiles profiles Unix authentication, SMB password synchronization, eCryptfs Key/Mount Management
debconf (developer): --> 0
debconf (developer): <-- FSET libpam-runtime/profiles seen false
debconf (developer): --> 0 false
debconf (developer): <-- SET libpam-runtime/profiles unix, smbpasswd-migrate, ecryptfs-utils, smbpasswd-migrate, ecryptfs-utils
debconf (developer): --> 0 value set
debconf (developer): <-- INPUT high libpam-runtime/profiles
debconf (developer): --> 0 question will be asked
debconf (developer): <-- GO
debconf (developer): --> 30 backup
debconf (developer): <-- GET libpam-runtime/profiles
debconf (developer): --> 0 unix, smbpasswd-migrate, ecryptfs-utils, smbpasswd-migrate, ecryptfs-utils
debconf (developer): <-- FSET libpam-runtime/profiles seen false
debconf (developer): --> 0 false
debconf (developer): <-- SET libpam-runtime/profiles unix, smbpasswd-migrate, ecryptfs-utils, smbpasswd-migrate, ecryptfs-utils
debconf (developer): --> 0 value set
debconf (developer): <-- FSET libpam-runtime/override seen false
debconf (developer): --> 0 false
debconf (developer): <-- SET libpam-runtime/override false
debconf (developer): --> 0 value set

I'm attaching a tarball containing /etc/pam.d/common-* (before this breakage), /usr/share/pam-configs/, and /var/lib/pam/.

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

I think this is critical because when those items are duplicated it renders me unable to log in (gnome-screensaver apparently hung, and login segfaulted; I had to reboot).

Changed in pam:
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pam - 1.0.1-3ubuntu4

---------------
pam (1.0.1-3ubuntu4) intrepid; urgency=low

  * If two profiles have the same Priority, sort by the profile name to
    ensure a complete sort so we can filter out all the duplicates from the
    list and not write out broken configs. LP: #260371.

 -- Steve Langasek <email address hidden> Fri, 22 Aug 2008 17:33:14 +0000

Changed in pam:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.