start-stop-daemon: select() failed for pause: Invalid argument

Bug #184777 reported by Andreas Påhlsson
4
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dpkg

Lighttpd often dies when rotating the logs. Trying to reproduce the error manually i got the following error.

root@test001:~# /etc/init.d/lighttpd reload
 * Reloading web server configuration lighttpd
start-stop-daemon: select() failed for pause: Invalid argument (Invalid argument)

This may or may not be the cause of the logrotate problems. But it surely tells me that start-stop-daemon is broken.

Revision history for this message
Andreas Påhlsson (andreas-pahlsson-xcerion) wrote :

The bug seams to be that the interval argument to select is negative. This patch addresses that and also removes time macros that made the code unreadable. Test, test, test.

Revision history for this message
Andreas Påhlsson (andreas-pahlsson-xcerion) wrote : Re: [Bug 184777] Re: start-stop-daemon: select() failed for pause: Invalid argument

An update of the previous patch.

regards,

Andreas Påhlsson

Please note that this message may contain confidential information. Unless explicitly so designated this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. The views expressed in this email may not be the policy or view of Xcerion AB.

Revision history for this message
Andreas Påhlsson (andreas-pahlsson-xcerion) wrote :

The actual patch...

Revision history for this message
Daniel Holbach (dholbach) wrote :

To get your fix (or workaround) included in Ubuntu, try transforming it into a debdiff (http://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff) and submitting it for review (http://wiki.ubuntu.com/SponsorshipProcess).

Revision history for this message
Daniel Holbach (dholbach) wrote :

Setting to incomplete for now - set back to 'new' if you've attached the debdiff and subscribed the sponsoring team.

Changed in dpkg:
status: New → Incomplete
Revision history for this message
Daniel Holbach (dholbach) wrote :

Setting to In Progress.

Changed in dpkg:
status: Incomplete → In Progress
Revision history for this message
Raphaël Hertzog (hertzog) wrote :

Fixed upstream in commit fb08b88f65d57baa742f33e8e6ec36a772fe801a and available in dpkg >= 1.14.16.3.

Changed in dpkg (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.