postinst prompts for questions outside of debconf

Bug #56076 reported by Ryan Lovett on 2006-08-11
Affects Status Importance Assigned to Milestone
sendmail (Debian)
Fix Released
sendmail (Ubuntu)
Albin Tonnerre

Bug Description

Binary package hint: sendmail-bin

configure () {
        local enter;
        echo -n "Configure now ? (y/N) ";
        read yn;

According to policy this is depracated behavior. From
"Package maintainer scripts may prompt the user if necessary. Prompting should be done by communicating through a program, such as debconf, which conforms to the Debian Configuration management specification, version 2 or higher. Prompting the user by other means, such as by hand[8], is now deprecated."

This complicates unattended installations.

Albin Tonnerre (lutin) on 2007-09-05
Changed in sendmail:
assignee: nobody → lutin
status: New → Confirmed
Changed in sendmail:
status: Unknown → New
Changed in sendmail (Debian):
status: New → Fix Released
yas alo (nejed-lol) on 2012-01-25
Changed in sendmail (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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