severity 645240 wishlist
thanks

Hi,

1. Linux, by its design, is a multi-task system, and there's nothing in
the Policy that disallows spawning background tasks from maintainer
scripts, so I don't understand why this bug was marked serious.

2. `true' is a sensible default for the question for interactive use
(when user actually sees the question). For non-interactive use, `false'
would be better. I'm thinking about distinguishing between interactive
and non-interactive usage by using debconf's seen flag - i.e. skip the
indexing if user hasn't seen the question.

3. There's another task spawned (unconditionally) by dwww's postinst:

    if ( -x "/etc/cron.daily/dwww" )
    {
        print STDERR "\nBuilding dwww pages in the background...\n";
        system("setsid /etc/cron.daily/dwww &");
    }
This should take a far less time to complete, but still there's a
similar race condition to the one reported here. So probably this also
should be run in foreground in non-interactive installation.

Regards,
robert


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to