Bug#462225: start-stop-deamon: select() failed for pause: Invalid argument

2008-01-30 Thread Andreas Påhlsson
Guillem Jover skrev: * interval is checked right before select. There was a corner case if maxinterval was negative. This one is actually not needed. maxinterval should never be negative, that should be catched already by the previous timercmp. It should indeed never be negative as

Bug#462225: start-stop-deamon: select() failed for pause: Invalid argument

2008-01-24 Thread Andreas Påhlsson
I've reworked the patch to apply to 1.14.16.4. There are some subtle changes. * tsub is removed in favour of timersub (sys/time.h). * tmul is reimplemented as it was broken. * interval is checked right before select. There was a corner case if maxinterval was negative. regards, Andreas

Bug#462225: start-stop-deamon: select() failed for pause: Invalid argument

2008-01-24 Thread Guillem Jover
Hi, On Thu, 2008-01-24 at 10:32:40 +0100, Andreas Påhlsson wrote: I've reworked the patch to apply to 1.14.16.4. There are some subtle changes. Thanks for the initial patch and this one! * tsub is removed in favour of timersub (sys/time.h). Thought about that just after upload. Will

Bug#462225: start-stop-deamon: select() failed for pause: Invalid argument

2008-01-23 Thread Andreas Påhlsson
Package: dpkg Version: 1.13.25 Severity: important Tags: patch Lighttpd often dies when rotating the logs. Trying to reproduce the error manually I got the following error. [EMAIL PROTECTED]:~# /etc/init.d/lighttpd reload * Reloading web server configuration lighttpd start-stop-daemon:

Bug#462225: start-stop-deamon: select() failed for pause: Invalid argument

2008-01-23 Thread Raphael Hertzog
On Tue, 22 Jan 2008, Andreas Påhlsson wrote: Package: dpkg Version: 1.13.25 Severity: important Tags: patch Lighttpd often dies when rotating the logs. Trying to reproduce the error manually I got the following error. [EMAIL PROTECTED]:~# /etc/init.d/lighttpd reload * Reloading web

Bug#462225: start-stop-deamon: select() failed for pause: Invalid argument

2008-01-23 Thread Andreas Påhlsson
Raphael Hertzog skrev: Thanks for going as far as a patch but when you do that, you should really try to work from the latest version (ie the one in unstable). start-stop-daemon has just seen some significant changes (check dpkg 1.14.16.3) and I believe this bug has been fixed as I now see: