Reinier Haasjes <rein...@haasjes.com> writes:

> I'm trying to solve bug #561324 which uses it's own binary in the config
> script.

> It uses it's own binary to get some information (tunnel id) which uses
> login+password to retrieve, it really needs this to compile a good
> config script (if you have more than 1 tunnel).

> My idea on solving this is to move the complete config script to
> postinst and ask all the question there.  I read everywhere that this is
> not the preferred way to go but I can't discover if it is prohibited by
> the policy.

> Is it prohibited by the policy to ask questions in the postinst-script?

No.  You want to avoid it where possible because it breaks
pre-configuration, which is why Lintian warns about it.  The person
installing the package will get asked questions during the installation
rather than being asked all questions up-front for the full installation
run.  But sometimes it's unavoidable.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to