[Pkg-dspam-misc] Bug#702700: Bug#702700: [dspam] Avoid active loop in daemon

Thomas Preud'homme robotux at debian.org
Sun Mar 10 14:54:48 UTC 2013


tags 702700 + upstream
forwarded https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3607521&group_id=250683
thanks

Le dimanche 10 mars 2013 13:59:37, Adrien Clerc a écrit :
> Hi,
> 
> Currently, the daemon has an active loop. It calls select with a 2
> seconds timeout, just to to be sure that no signal was raised.
> This could be avoided. I choose the self-pipe trick, cause it's the
> solution that integrate the most with the current code.
> Using pselect would have meant blocking signals just before the call,
> and would have needed a re-enabling in the process request. I didn't
> have the time to appreciate the impact of that.

Ack.

> 
> This has been submitted upstream on
> https://sourceforge.net/tracker/?func=detail&aid=3607521&group_id=250683&at
> id=1126467 I just hope that Debian packagers are faster than dspam main
> development team :)

The general rule in Debian is to not include patches which where not included upstream, unless it's Debian-specific or urgent (think security fixes) or very important (data loss). I don't think this change qualify for one of these exceptions but maybe I don't realize 
how big is the problem.

If using select is such a problem that it should be fixed right away, can you explain me why because it doesn't look so important to me.

Thanks for your bug report and for forwarding the bug upstream by yourself.

Best regards,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-dspam-misc/attachments/20130310/e4b1383e/attachment.pgp>


More information about the Pkg-dspam-misc mailing list