Bug#520323: wrong exit code when timeout not reached: tmp FIX

Michael Prokop mika at debian.org
Sat May 8 08:02:15 UTC 2010


* R0bb <r0bb3d at gmail.com> [Fri May 07, 2010 at 02:26:05PM +0200]:

> Because it doesn't look like the exit status problem of timeout command  
> is going to be fixed anytime soon, this bug has been open for > 6  
> years??, I patched the source myself using a patch by Drake Diedrich.  
> I've confirmed the patch works nicely and am currently using it in a  
> production environment.

Nowadays you shouldn't have to use the timeout package anymore but
instead use timeout provided by recent coreutils:

% timeout 5 false; echo $?
1
% timeout --version | head -1
timeout (GNU coreutils) 8.4

Dear other forensics members: As I wrote in #531787:

| I'm thinking about completely dropping the timeout package with next
| upload of the tct package. Any objections? (Cc-ing forensics-devel)

The tct package doesn't provide timeout anymore but coreutils 8.5-1
provides the timeout command and entered testing/squeeze, so I tend
to request removal (ROM) for the timeout package if there aren't any
objections.

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20100508/83dc3629/attachment.pgp>


More information about the forensics-devel mailing list