postinst prompts for questions outside of debconf

Bug #56076 reported by Ryan Lovett
4
Affects Status Importance Assigned to Milestone
sendmail (Debian)
Fix Released
Unknown
sendmail (Ubuntu)
Fix Released
Undecided
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 http://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt
"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)
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)
Changed in sendmail (Ubuntu):
status: Confirmed → 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.