Hi Andrey,

On 12-12-15 20:05, Andrey Rahmatullin wrote:
> On Sat, Dec 12, 2015 at 03:13:59PM +0100, Paul Gevers wrote:
>>> It also continues even after I said "Abort" (four times)
>> Is this very reproducible for you?
> 100%

Same for me.

And I also found the culprit. It is the way that tt-rss is calling
dbconfig-common. dbconfig-common relies on "set -e", which according to
policy you "almost always need to use" in all maintainer scripts.
However, in the tt-rss postinst script the call to dbconfig-common is:
if ! dbc_go tt-rss $@ ; then
    echo 'Automatic configuration using dbconfig-common failed!'
fi
As an artifact of that, dbconfig-common does not stop on error while
executing.

I wonder if I should just add "set -e" to the dbconfig-common files, but
somehow that feels wrong as they are sourced. I think, but clearly may
be wrong, that the sourcing file should handle that (than this is a bug
in tt-rss instead on dbconfig-common). What are your thoughts? Do you
know of good references here?

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to