[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#326633: Section 6.3 should reference 3.10.1



Package: debian-policy
Version: 3.6.2.1
Severity: normal

[this is an edited resent of my previous mail, no new information was
harm^Wused in the production]

Lars Wirzenius <liw@iki.fi> writes:
>         * Some packages still don't use debconf for prompting, and
>           instead do silly stuff that assumed it is OK to read and
>           write /dev/tty.

Actually, the policy explicitly allows this:

| The maintainer scripts are guaranteed to run with a controlling terminal
| and can interact with the user. If they need to prompt for passwords, do
| full-screen interaction or something similar you should do these things
| to and from /dev/tty, [...]
[Debian Policy 3.6.2.1, section 6.3]


This should probably changed a bit to reference 3.10.1, which says that
all means to prompt the user besides debconf are deprecated.

Marc




Reply to: