Hi!

On Mon, 2015-04-20 at 17:22:37 +0100, Jose M Calhariz wrote:
> Package: dpkg
> Version: 1.17.25
> Severity: minor

> start-stop-daemon use gettimeofday to wait for process to die.  Where
> I work there are use cases of using the retry option with
> "--retry=TERM/300/KILL/5".
> 
> 5 minutes is time enough for a Sysadmin to set the system lock and by
> mistake to messing the waiting of start-stop-daemon.  Shouldn't the
> call gettimeofday be replaced by clock_gettime?

Indeed. I've added support locally to use the monotonic clock, and
will be included in my next push targetting 1.18.x, once I've tested
this a bit more.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to