"dpkg-reconfigure libpam-runtime" does not respect debconf frontend

Bug #295444 reported by Daniel Richard G.
2
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libpam-runtime

This concerns libpam-runtime 1.0.1-4ubuntu5 in intrepid.

Run "dpkg-reconfigure -f editor libpam-runtime".

Why does the dialog interface come up when we explicitly asked otherwise?

Revision history for this message
Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this bug and help to improve Ubuntu.

The -f argument to dpkg-reconfigure is ineffectual for libpam-runtime because -f only sets the debconf frontend used when calling the .config script for a package, and libpam-runtime doesn't use a .config script: it calls (and must call) pam-auth-update from the postinst.

To set the frontend used by pam-auth-update, you can run either of these commands:

DEBIAN_FRONTEND=editor dpkg-reconfigure libpam-runtime
DEBIAN_FRONTEND=editor pam-auth-update

Marking this report as invalid because the pam scripts are functioning as designed; if you believe dpkg-reconfigure's behavior is incorrect and that -f should be applied when invoking any of the maintainer scripts, this bug report should be reassigned to debconf.

Changed in pam:
status: New → Invalid
Revision history for this message
Daniel Richard G. (skunk) wrote :

Reassigning to debconf.

Changed in pam:
status: Invalid → New
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.