From debbugs-submit-bounces@debbugs.gnu.org Sun May 31 17:22:56 2020 Received: (at submit) by debbugs.gnu.org; 31 May 2020 21:22:56 +0000 Received: from localhost ([127.0.0.1]:33990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfVPz-0008Gz-O6 for submit@debbugs.gnu.org; Sun, 31 May 2020 17:22:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:39310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfVPy-0008Gr-1l for submit@debbugs.gnu.org; Sun, 31 May 2020 17:22:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfVPx-0008Ia-SY for bug-coreutils@gnu.org; Sun, 31 May 2020 17:22:53 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:35498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfVPw-00080k-Hr for bug-coreutils@gnu.org; Sun, 31 May 2020 17:22:53 -0400 Received: by mail-wm1-x331.google.com with SMTP id q25so531142wmj.0 for ; Sun, 31 May 2020 14:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=8yEi81uTfhT930wcxb0bPvX3JtrgJLxfl+fK81x9NbA=; b=lZgbeRHWtPh2l2qFx+Dla2eEhFYGE3exiBWv7yi9UnV3CrTSkKaeN5KqXIvn8cz5rA xotJ0wy27bXvU0mz/qMEb3BE8gDHz69PHceGl0kcpHtUWfS7jLPFiSnd5wCU2bWgPFVj qjUGMw/LOYXGWNfjbhk/dlGWrUDqCTcfnCIwHdGHGTiKKoo6aYvBy0Ja1hPCfqsjLcXD I/VJcv4rMNwwPZThynW5Ii1VrbHMP7rVfAnxa3wLiUFB2zxywqEP/Wy3UTX+xqySfpyS +zqiWO7tFJuZTuk1bnUH59hppmnXt/NIP5oNvJ9IZ4mWLYW3CIexfJMmsHCB/kTUh2QQ uCFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=8yEi81uTfhT930wcxb0bPvX3JtrgJLxfl+fK81x9NbA=; b=ruYIb5NNCgfGaTLn76Ci+pMU2yHFQH+r+5mWCPo0jq1fk3OrjNwQsitj56/pgfSfKT hMruQxOeMVPDj1es1teC2Tzo2mlWZvKe9MzERcQ0oCQMeOL5JYTjyTQBmebNTh9CFBbO EaxOONVdGH7RSlL1HrhLNmWaHItLSbDhri4v8Zm24O37rFctnJtXMnagmlHlvkt4EbS/ PLmOXUgphTpkBetRsDHp5xEl2B2/UF/0Pax3WSjY3LZ83wiL9jD7TPgxb52xkTElA06o mBBwO8OaGPMAM1vltYXHz9VCJeq6GxkMELAn9Qj/TbbCqd92ilt/9SRV2CCU3CRBcyf+ fZlg== X-Gm-Message-State: AOAM532vHtM5MeEwrwt4/gNyNmoHgy7Z5GSV0U9NCCEYPv/6ta+f8+f5 N4Y3tYOlWZ5OfXZWIhTrEnG7WuKWaeA= X-Google-Smtp-Source: ABdhPJz4YR3I0u7LZh2kNtJsu8ahI07mw6jZqJs1rKBLyEfNagVLdiy1EZSUmvw0YSlhDOYcag9VNQ== X-Received: by 2002:a05:600c:24d1:: with SMTP id 17mr18182879wmu.48.1590960169668; Sun, 31 May 2020 14:22:49 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id d15sm18768258wrq.30.2020.05.31.14.22.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 May 2020 14:22:48 -0700 (PDT) To: bug-coreutils@gnu.org From: Jonny Grant Subject: 'timeout' returning 124 and 133 Message-ID: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> Date: Sun, 31 May 2020 22:22:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------ACBB56D0D6D316984552E8DB" Content-Language: en-GB Received-SPF: permerror client-ip=2a00:1450:4864:20::331; envelope-from=jg@jguk.org; helo=mail-wm1-x331.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------ACBB56D0D6D316984552E8DB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello I'm using timeout with another program that doesn't have a timeout mechanism. Saw surprisingly timeout often returns 124 I was a bit surprised the return code as a signal was not 143 (128+ 15) for SIGTERM. I must be missing something. This article says 124 for SIGTERM, and as expected 137 for SIGKILL (128+9) https://www.howtogeek.com/423286/how-to-use-the-timeout-command-on-linux/ The man page says "Start COMMAND, and kill it if still running after DURATION.", it sounds like it's doing 'kill -s SIGTERM' after DURATION. Then if -k argument it is doing 'kill -s SIGKILL' Could the 124 and 137 be documented on the man page? Regards, Jonny --------------ACBB56D0D6D316984552E8DB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hello

I'm using timeout with another program that doesn't have a timeout mechanism. Saw surprisingly timeout often returns 124

I was a bit surprised the return code as a signal was not 143 (128+ 15) for SIGTERM. I must be missing something.

This article says 124 for SIGTERM, and as expected 137 for SIGKILL (128+9)
https://www.howtogeek.com/423286/how-to-use-the-timeout-command-on-linux/

The man page says "Start COMMAND, and kill it if still running after DURATION.", it sounds like it's doing 'kill -s

SIGTERM' after DURATION. Then if -k argument it is doing 'kill -s SIGKILL'


Could the 124 and 137 be documented on the man page?

Regards, Jonny
--------------ACBB56D0D6D316984552E8DB-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 02:53:41 2020 Received: (at 41634) by debbugs.gnu.org; 1 Jun 2020 06:53:41 +0000 Received: from localhost ([127.0.0.1]:34370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfeKL-0005LS-D2 for submit@debbugs.gnu.org; Mon, 01 Jun 2020 02:53:41 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:55083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfeKJ-0005LJ-R6 for 41634@debbugs.gnu.org; Mon, 01 Jun 2020 02:53:40 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49b5VV2tznz1rvy6; Mon, 1 Jun 2020 08:53:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49b5VV0kZLz1qt9b; Mon, 1 Jun 2020 08:53:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 9X1OpGxsH6Od; Mon, 1 Jun 2020 08:53:37 +0200 (CEST) X-Auth-Info: ufGby+FGkKtDO0L4cmKW5BirzvXgwI7OMr365Z1PD6Z3vcSCzDXYbIbRLtjAwsBU Received: from hase.home (ppp-46-244-183-46.dynamic.mnet-online.de [46.244.183.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 1 Jun 2020 08:53:37 +0200 (CEST) Received: by hase.home (Postfix, from userid 1000) id D8C031014F6; Mon, 1 Jun 2020 08:53:36 +0200 (CEST) From: Andreas Schwab To: Jonny Grant Subject: Re: bug#41634: 'timeout' returning 124 and 133 References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> X-Yow: I've got an IDEA!! Why don't I STARE at you so HARD, you forget your SOCIAL SECURITY NUMBER!! Date: Mon, 01 Jun 2020 08:53:36 +0200 In-Reply-To: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> (Jonny Grant's message of "Sun, 31 May 2020 22:22:47 +0100") Message-ID: <87blm3qntb.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Mai 31 2020, Jonny Grant wrote: > Could the 124 and 137 be documented on the man page? What's wrong with the last paragraph in the DESCRIPTION section? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 01 04:01:49 2020 Received: (at 41634) by debbugs.gnu.org; 1 Jun 2020 08:01:49 +0000 Received: from localhost ([127.0.0.1]:34431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jffOH-00028k-Ae for submit@debbugs.gnu.org; Mon, 01 Jun 2020 04:01:49 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:38712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jffOE-00022C-IT for 41634@debbugs.gnu.org; Mon, 01 Jun 2020 04:01:47 -0400 Received: by mail-wm1-f50.google.com with SMTP id f185so10369074wmf.3 for <41634@debbugs.gnu.org>; Mon, 01 Jun 2020 01:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UfLjcUqXUsegltxlMw4XADPr+3GbeLji7uvG3yE/sVs=; b=UETl51TUaWOmZbfdldg+lpp7psZGdgrAlrKqXYRoSm8BwSAZRNL97zurimysYH9aRi 8TJmI/305Nl0SbrQyv9LBYOYd5c/Kv8q1JM/WgxuRE2dKMkxrKYRJmuYJQDyma6k7Efh HJpG9rli8pXyqvbZQOYdIljSaIn+tlPHZYng2+R9a34WBzHPzqkyXJXv5UiBW0FHbWHH NIYBatl2ByZSwTcAUzTJPV9SOkHsFTuDNrvLz31MO0X8swOsQZpT+XbkBA6njwYwJT6O +Myd9bR0G+LtggUaBzCATgCwT4kLf4XYeNTTBzBqmXPP76Fa3tPcY97XF4QeZDXAJmdP JLXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UfLjcUqXUsegltxlMw4XADPr+3GbeLji7uvG3yE/sVs=; b=bkfK9M12sk3iB8upsW5vYab7AreJ846doGWCwm6p3fG8qTCKSq9nxFBhIBluo+bWp6 1A4GGA5q7F7GqCDLZ5NIxmPs/uukuGxG/2WsACxt20j2glDj44N8v8csnXfXJGSEmj8v OYsIXkAP+raOa6NJd/iO6UhZ2Tlw9dXo5+SIXIlC2XYOg7BRLhB8eitimApfiwhWAq8e 84YGDbhngoWVh03s/5s2WKrgn+C+EKvgdlfK15rajfR/ZUPJa1nLFHjDZR275WGzlybh x9Ib256+OkbKNJDol6kWuIfEQgSQrTM3e2KW26iQl9HcTH+e0+NYP9oMWQzGiwEyY9U7 t0zg== X-Gm-Message-State: AOAM531uLrYIQ73AJdzTb1Jh1XBryQFpHH+3GhApz/ooJ3OZErOWIrhh OrRmxermPclXgLp3b2M1hnrr1XFT3Cw= X-Google-Smtp-Source: ABdhPJyHlrfm/sZha//t1kEjjjNxsis7tCz5EyPy7I0fA81XxgoRxJUmqv/sGWLL2x3RhG5qGp3xZA== X-Received: by 2002:a7b:c046:: with SMTP id u6mr19521883wmc.57.1590998500156; Mon, 01 Jun 2020 01:01:40 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id c65sm10449486wme.8.2020.06.01.01.01.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 01:01:39 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> From: Jonny Grant Message-ID: <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> Date: Mon, 1 Jun 2020 09:01:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <87blm3qntb.fsf@linux-m68k.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 01/06/2020 07:53, Andreas Schwab wrote: > On Mai 31 2020, Jonny Grant wrote: > >> Could the 124 and 137 be documented on the man page? > > What's wrong with the last paragraph in the DESCRIPTION section? > > Andreas. > My mistake missing that. But could the 137 be listed explicitly? ie. "It may be necessary to use the KILL (9) signal, since this signal cannot be caught, in which case the exit status is 137 (128+9) rather than 124." This other man page of timeout has a clearer list of the exit codes https://ss64.com/bash/timeout.html Jonny From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 05 19:37:57 2020 Received: (at 41634) by debbugs.gnu.org; 5 Jun 2020 23:37:57 +0000 Received: from localhost ([127.0.0.1]:50350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhLuP-00021K-Cj for submit@debbugs.gnu.org; Fri, 05 Jun 2020 19:37:57 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:46905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhLuN-000216-IH for 41634@debbugs.gnu.org; Fri, 05 Jun 2020 19:37:56 -0400 Received: from [192.168.101.10] ([91.1.209.5]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MqJuP-1jC9lY2TcR-00nTtu; Sat, 06 Jun 2020 01:37:47 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Jonny Grant , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> Date: Sat, 6 Jun 2020 01:37:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> Content-Type: multipart/mixed; boundary="------------5F9E277F69AF5D334D553627" Content-Language: en-US X-Provags-ID: V03:K1:qF7+n9nOFNeMfWHTIthhcLj3q2mpo1JTVg83FYWwQOYIE1p1zKG pzK0fdHvFbhJoDG9Blx0rw8wBXqGwtbkfRDoMw4NiYYmkgOartFRPQG8tKjbn9zNWABi8AE j0dDGJziZYZ6kZCOqst5o8C1wRcBFZk3Om3ZFq7OiMlCR/xmRCAKyWG5lHBMaBiVfaPlGQh DmkOx1RhZkDmcTs7NKFug== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:VrtNZ2LYL9k=:mj6SaOHQo2vOER+T5HltH/ JT2XNWiq9zvs8dnVYWfyrZ+9cnpW2kW7VUjG0pGgppYNLdUxMcuwg9743x6we2YaBYHoNoC+6 FEr8VAFoqtLwgqFVFfZQ9JXajk81V3G5ilWfr1SAMj0D/aZO+7L2MFUVEjE4J1yuapu0AcwVy YIaf3X6MObwsPMi1EhZscKsck/XHsZUvuD+F6UZYRMWJ66NH11d1OmeFOpaStbhjRl89Y/jVt gjdBE9YCRWqKBZwvdDEdK5fcxTBPe54d4o8mzCCT1BVg9EJw3HCZqs5uKvi7wBkh7H2zeF5cx a+V3fRV6XqM2RS/nYkWRANNUlcCGjvavojyYCJsXjZzOUjDfZRxllmajo3RtR65hxsaa9n7mW yTH7mDMtLfjBJA6kK585JDb9aVvxrxyPnU+y1IJ8j2kyI3qqfDoUcRNJ/gMJDfc1ybAjU3f9c woke6W4HMa/w44IPoo5VCZY7AluosLWLzWpif05M5rHT0eA4BMzkna0kKD6pSOi/zmOiGcyER CWFwyYJPASYJzDdGISwQDD5WI3ueAtZKYeUXY5YYzXwN7uyTdO6DRCcobWExXIxu8XmRBsKL+ mYytUrzvK/tBj/lRHqLKCyJXVsUwk3GRxCOkhWZv1o39fnsfpWj2J4ySoDN48jc+s97ug5aYl AfymSwedxU+tvJ66gl/FUpTbxt6XrEk45vBZ6PVHb0M7/qHOh8YQ51ybqiL9DBJjrT7MF5tyQ IoLOta+2Uwz5oC8/lGfJcikm83xuPyz9veSnxLYhhJcwsF6sYDIrZwToku/lrlCDHbxA/HRnk m5G4DxL5wXlpC7XjVRq6BvsXy9RHwbkMKb34XxZTYbim9/bHJXaNcwL+gHDmsUJROY9FWd2 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------5F9E277F69AF5D334D553627 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 2020-06-01 10:01, Jonny Grant wrote: > My mistake missing that. But could the 137 be listed explicitly? > ie. > "It may be necessary to use the KILL (9) signal, since this signal cannot be caught, in which case the exit status is > 137 (128+9) rather than 124." thanks for the suggestion. I think this could still be improved: there is still the open question what happens when the KILL signal is sent either to timeout(1) or to COMMAND. The attached patch tries to clarify. Have a nice day, Berny --------------5F9E277F69AF5D334D553627 Content-Type: text/x-patch; charset=UTF-8; name="0001-doc-timeout-further-clarify-exit-status-after-KILL-s.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-doc-timeout-further-clarify-exit-status-after-KILL-s.pa"; filename*1="tch" >From d4ee1f8ace585124e80a3d6e11c6902e37e9e71f Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Sat, 6 Jun 2020 01:22:00 +0200 Subject: [PATCH] doc: timeout: further clarify exit status after KILL signal * doc/coreutils.texi (timeout invocation): Document that the exit status is 137 when the KILL signal is used, regardless of wether that signal is sent to COMMAND or timeout. * src/timeout.c (usage): Likewise. Discussed at https://bugs.gnu.org/41634 --- doc/coreutils.texi | 8 +++++++- src/timeout.c | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index f0684b1c5..07494ab0f 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -18143,10 +18143,16 @@ Exit status: 125 if @command{timeout} itself fails 126 if @var{command} is found but cannot be invoked 127 if @var{command} cannot be found -137 if @var{command} is sent the KILL(9) signal (128+9) +137 if @var{command} or @command{timeout} is sent the KILL(9) signal (128+9) the exit status of @var{command} otherwise @end display +In case of the @samp{KILL(9)} signal, @command{timeout} returns with +exit status 137, regardless of whether that signal is sent to @var{command} +or to @command{timeout} itself, i.e., these cases cannot be distinguished. +In the latter case, the @var{command} process may still be alive after +@command{timeout} has forcefully been terminated. + @node Process control @chapter Process control diff --git a/src/timeout.c b/src/timeout.c index 14ae88da5..9e7cef8f9 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -272,9 +272,9 @@ DURATION is a floating point number with an optional suffix:\n\ If the command times out, and --preserve-status is not set, then exit with\n\ status 124. Otherwise, exit with the status of COMMAND. If no signal\n\ is specified, send the TERM signal upon timeout. The TERM signal kills\n\ -any process that does not block or catch that signal. It may be necessary\n\ -to use the KILL (9) signal, since this signal cannot be caught, in which\n\ -case the exit status is 128+9 rather than 124.\n"), stdout); +any process that does not block or catch that signal.\n\ +If the KILL (9) signal - which cannot be caught - is sent to COMMAND or\n\ +timeout, then the exit status is 137 (128+9) rather than 124.\n"), stdout); emit_ancillary_info (PROGRAM_NAME); } exit (status); -- 2.26.2 --------------5F9E277F69AF5D334D553627-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 17:49:37 2020 Received: (at 41634) by debbugs.gnu.org; 6 Jun 2020 21:49:37 +0000 Received: from localhost ([127.0.0.1]:52651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhgh7-0007z2-7M for submit@debbugs.gnu.org; Sat, 06 Jun 2020 17:49:37 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:44586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhgh4-0007ym-CS for 41634@debbugs.gnu.org; Sat, 06 Jun 2020 17:49:35 -0400 Received: by mail-wr1-f46.google.com with SMTP id y17so13399543wrn.11 for <41634@debbugs.gnu.org>; Sat, 06 Jun 2020 14:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/Mqr0ybdu59feIyVwEfwfwF76r4X3c2TcfAYbYfEvhw=; b=Gw3xudm9JcmV6B4L4XVJtOIl4lYjU8YmzBP6a9xkU8Vn1XSSTSgWrW7WVZVUxmcLZf jAEZD6Va7OvG5Yfoaif2tgtPSuhg8kzkWJqR6X5lFPs6Rdy+C+damFNJ+9mYaDhtjtS4 3o4MtSt+rHyNqOB9ZrXZt9v75Awxg4s+IBmz062vE86NKBKkqDMESrx9yCGBrJ07Yg21 4ZiOO8Yce141rPoiDi7SoVNwvOXkPNfrMoK6wndQ+S+1EizBrZyza6DML0s+np7ibckG 4E8vjoDsjeqXwkCGIBwEC7bqfUqv2RIdRvfNeDxbBq9wxzRJcBRUCErNfKzNOSydZn6X +jJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/Mqr0ybdu59feIyVwEfwfwF76r4X3c2TcfAYbYfEvhw=; b=bDWPbQY/xAHBdGa1gkDdc9DbWlx+K5YdAyHyIb6Jws38/yGNWo//OQfeq2O+OuSDLt O7hOvfbjF2IGJzHzpQn0/rEZfNYQM+Tajtqw3EAA2T9S/iqA3M+99JDimtxT0dUas53O iITRi01P9Fgb9c9uNgz6k15b72SPithpaX+n6hzkxyTYbkV2JgNlJ/FiCnZDIJ6CzptQ hojROGESYt4b0rOlSUbU8shna45QNf2+4zfGKKSkGDNmnQIxtVlc+K0Zj+jLI1VpkWV4 y8k9TfmPzmUNQWpC7Xx+0x4/SsvwA39JMWUuSDVinS1ot6PKij0HzyVkVnZC3M6yfBRL 8ySA== X-Gm-Message-State: AOAM5334Z630I5KKGwpF4UlPvlM6oqrx0RKSaHe82kY7cL1Xin/Q2Ac2 VFg7IPlKgmYXLPYamf+TfWnoguLgPcY= X-Google-Smtp-Source: ABdhPJw+rwiyptdKwiOsJn94YMfrRw5JpYP4e9eMl8PLuxrA7XBmsmqfH/LFdimM8RuJdrj/0fQaeQ== X-Received: by 2002:a5d:62c2:: with SMTP id o2mr15477404wrv.51.1591480168188; Sat, 06 Jun 2020 14:49:28 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id 88sm19461262wre.45.2020.06.06.14.49.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Jun 2020 14:49:27 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> From: Jonny Grant Message-ID: <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> Date: Sat, 6 Jun 2020 22:49:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 06/06/2020 00:37, Bernhard Voelker wrote: > On 2020-06-01 10:01, Jonny Grant wrote: >> My mistake missing that. But could the 137 be listed explicitly? >> ie. >> "It may be necessary to use the KILL (9) signal, since this signal cannot be caught, in which case the exit status is >> 137 (128+9) rather than 124." > > thanks for the suggestion. > > I think this could still be improved: > there is still the open question what happens when the KILL signal > is sent either to timeout(1) or to COMMAND. > The attached patch tries to clarify. > > Have a nice day, > Berny > Hello Berny Great patch. How about writing signal 9 by the name, ie $ kill -s KILL likewise $ kill -s TERM Cheers, Jonny From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 08:13:31 2020 Received: (at 41634) by debbugs.gnu.org; 7 Jun 2020 12:13:31 +0000 Received: from localhost ([127.0.0.1]:53424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhuB9-00020u-7s for submit@debbugs.gnu.org; Sun, 07 Jun 2020 08:13:31 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:38540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhuB7-00020c-GJ for 41634@debbugs.gnu.org; Sun, 07 Jun 2020 08:13:30 -0400 Received: by mail-wm1-f42.google.com with SMTP id f185so13667081wmf.3 for <41634@debbugs.gnu.org>; Sun, 07 Jun 2020 05:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=uZme3DspQWQLgxXjalOZEEwZpICZeqZjnWG2A8pbr10=; b=G/jzJGwL4kYH9dOyWE39KWjB1YHhOGevKpztNnfC2CE+bYg3wiouHvp440oE8fHOP9 Nyn6pPEb3iNrE6xlp3z7NVXXBM/BKNpOchO6RUBJCRJsOTzWiI9WqYzkhCxDNRqxNtIH hMIhEDLWxkXxoOxRAjxCzqwRmwbd3KUpTF3OyXdTG8ksaTNlQsBtTQJbvklXmKKlLMo+ RTdtGB0tEn4bfaJ9CeigeHwgiMqIcVyyt5rRjLCRuLWUJegzZ8LBVNdxslkv8he4duQ/ UfEKe4oklfx3kOu1mk8iHjxr2jrOYxZ+xKJMKcM+VStXcKZrD78nlaXStzmxhgy/tB1b 0Pdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language; bh=uZme3DspQWQLgxXjalOZEEwZpICZeqZjnWG2A8pbr10=; b=eZEwmx3D7piqxz7BbB+WvGjadyQKbqMfgIo6UbGUDOCcN1gaBSG13IPd8N4U1khUgP KajUtmOz/hL3L6PiDsHt1vIvH+hm2bP8WmExwArQSAo5pRvC/LDf191HubOXBq09kBF/ oKmyUf7hveWYfroyQJ98hCYaPO77ysV7cw/4n9mAs5XXDAuh9hxbK+B0seC/AxXBpUEb EE/2POf5NVjvSQe/TyIAKZrkBHix77WjKIMotlPh5G5s0KmQMGJfWyxuN52PX84JVMRY QZWoXqXJEDgLqc760CHBKftwakoAtBCYimeo92Q3bjheSFHVfn0GUDTAofEHbWX/9TDS YDAQ== X-Gm-Message-State: AOAM531mVeBsncGftYjPWh5mvQEwMwAhe/qOraK4z4fUnRKdbB88CdcA 3BLFINqs5xwh1ZP9JpcJVCga9ObR X-Google-Smtp-Source: ABdhPJyaH4nIrKm6m3mBl3qtsgHjutGS4pq43+H+rqytXwrb4zKlFykCVriv2XpsQ0KDBKEqbFLWgw== X-Received: by 2002:a1c:6446:: with SMTP id y67mr12205608wmb.156.1591532003378; Sun, 07 Jun 2020 05:13:23 -0700 (PDT) Received: from localhost.localdomain (86-42-14-227-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.42.14.227]) by smtp.googlemail.com with ESMTPSA id b19sm23208599wmj.0.2020.06.07.05.13.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jun 2020 05:13:22 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <89294ed5-3141-64fa-f9bd-a2c80a35a48a@draigBrady.com> Date: Sun, 7 Jun 2020 13:13:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Thunderbird/76.0 MIME-Version: 1.0 In-Reply-To: <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> Content-Type: multipart/mixed; boundary="------------222757A75A6F12E3CE80EFA7" Content-Language: en-US X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) This is a multi-part message in MIME format. --------------222757A75A6F12E3CE80EFA7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 06/06/2020 00:37, Bernhard Voelker wrote: > On 2020-06-01 10:01, Jonny Grant wrote: >> My mistake missing that. But could the 137 be listed explicitly? >> ie. >> "It may be necessary to use the KILL (9) signal, since this signal cannot be caught, in which case the exit status is >> 137 (128+9) rather than 124." > > thanks for the suggestion. > > I think this could still be improved: > there is still the open question what happens when the KILL signal > is sent either to timeout(1) or to COMMAND. > The attached patch tries to clarify. Thanks for improving that Bernhard. It's generally easier to scan tables of values, than blocks of text. How about we add the exit code table to the man page also? I've adjusted your patch to do that (along with some other tweaks) in the attached. cheers, Pádraig --------------222757A75A6F12E3CE80EFA7 Content-Type: text/x-patch; charset=UTF-8; name="timeout-exit-docs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="timeout-exit-docs.patch" >From 267e0ce456dda4d468da4a2d002eaf226b35c5d8 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Sun, 7 Jun 2020 12:58:14 +0100 Subject: [PATCH] doc: timeout: improve documentation of the exit status * doc/coreutils.texi (timeout invocation): Document that the exit status is 137 when the KILL signal is used, regardless of whether that signal is sent to COMMAND or timeout. * src/timeout.c (usage): Likewise. Also split out and expand on the possible exit status values to a separate table. Discussed at https://bugs.gnu.org/41634 --- doc/coreutils.texi | 9 +++++++-- src/timeout.c | 21 +++++++++++++++------ 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index f0684b1c5..3432fb294 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -18139,14 +18139,19 @@ which should be especially considered when specifying sub-second timeouts. Exit status: @display -124 if @var{command} times out +124 if @var{command} times out, and @option{--preserve-status} is not specified 125 if @command{timeout} itself fails 126 if @var{command} is found but cannot be invoked 127 if @var{command} cannot be found -137 if @var{command} is sent the KILL(9) signal (128+9) +137 if @var{command} or @command{timeout} is sent the KILL(9) signal (128+9) the exit status of @var{command} otherwise @end display +In case of the @samp{KILL(9)} signal, @command{timeout} returns with +exit status 137, regardless of whether that signal is sent to @var{command} +or to @command{timeout} itself, i.e., these cases cannot be distinguished. +In the latter case, the @var{command} process may still be alive after +@command{timeout} has forcefully been terminated. @node Process control @chapter Process control diff --git a/src/timeout.c b/src/timeout.c index 14ae88da5..abe00c729 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -269,12 +269,21 @@ DURATION is a floating point number with an optional suffix:\n\ 'd' for days.\nA duration of 0 disables the associated timeout.\n"), stdout); fputs (_("\n\ -If the command times out, and --preserve-status is not set, then exit with\n\ -status 124. Otherwise, exit with the status of COMMAND. If no signal\n\ -is specified, send the TERM signal upon timeout. The TERM signal kills\n\ -any process that does not block or catch that signal. It may be necessary\n\ -to use the KILL (9) signal, since this signal cannot be caught, in which\n\ -case the exit status is 128+9 rather than 124.\n"), stdout); +Upon timeout send the TERM signal to COMMAND, if no other SIGNAL specified.\n\ +The TERM signal kills any process that does not block or catch that signal.\n\ +It may be necessary to use the KILL signal, since this signal can't be caught.\ +\n"), stdout); + + fputs (_("\n\ +EXIT status:\n\ + 124 if COMMAND times out, and --preserve-status is not specified\n\ + 125 if the timeout command itself fails\n\ + 126 if COMMAND is found but cannot be invoked\n\ + 127 if COMMAND cannot be found\n\ + 137 if COMMAND (or timeout itself) is sent the KILL (9) signal (128+9)\n\ + - the exit status of COMMAND otherwise\n\ +"), stdout); + emit_ancillary_info (PROGRAM_NAME); } exit (status); -- 2.26.2 --------------222757A75A6F12E3CE80EFA7-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 08:38:16 2020 Received: (at 41634) by debbugs.gnu.org; 7 Jun 2020 12:38:16 +0000 Received: from localhost ([127.0.0.1]:53463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhuZ6-0002e1-5d for submit@debbugs.gnu.org; Sun, 07 Jun 2020 08:38:16 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:35415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhuZ4-0002dm-Pp for 41634@debbugs.gnu.org; Sun, 07 Jun 2020 08:38:15 -0400 Received: from [192.168.101.10] ([91.1.209.5]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MMWcT-1jPxfc2pZH-00Jas1; Sun, 07 Jun 2020 14:38:07 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: =?UTF-8?Q?P=c3=a1draig_Brady?= References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <89294ed5-3141-64fa-f9bd-a2c80a35a48a@draigBrady.com> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: <3ca165fe-0532-3188-3347-341dcccce816@bernhard-voelker.de> Date: Sun, 7 Jun 2020 14:38:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <89294ed5-3141-64fa-f9bd-a2c80a35a48a@draigBrady.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:1SpW4SZgRs0iLqbsPIJTaSnCkXUy1zwT1Tfn8iQfDdX3sI/E+X1 FSYsaqIawuY+eJLSJx5sAqzTAoTG9hCWRYwZiynVdm9HlP/Fvu1jExkw4oQbyiItNjOCflF 8fhA33Afnc4QutgHozAP07b9qsoLQ/Ucfw4WMlu/5UoaXZlhF95N5z8Te1HJ0B3tKjfOgpI MS0RHTb9DfJxea+8hmwBg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:TLLYtmJNvoo=:D8Da9JIUu0ZRWF8a8evJ+E lOUNoxaz6Tmf/hecfl0QrYpnBjgwLYI2jYG9z9K46rqchAd5Hjt+4kBP7fc2sWPb1lnQNxXiy VLvXG7XwuG04PuQTHlib4+9eKccZZvNYix1z3M3LyXdjH/xqLsGgq2uV+2P2CG6GcIvk38Dx6 nF6b/UJb4IdQ0W1dUzmF6VL/RwxrRM+jGyjChxAJCLKRJS1mJSD5bNlPepBGljUMjhSy2jFrn ijWcWGG9vl6aWzi0AE3ReIfv+zJJkHt6x9azZC1QHLerAb59CRuRGt89fS4k8EhONhXshwwGQ zvASq+2CuzmKkjTs+AjWe4yHM+sQDxkJZE6oX/nj0+67e9HMbewJXfuTT3Ji0sZgK1EHq0xzS Rys7X12vjsFi3V8BL+0wz+2O0oesHDDc59GCk5tDNWeNb9yLzpsQMkO4E3itxxyDAgTMWg7Fr 9bpT8V67YWA9CFBJr0Xlv0SA6tF/jivT7Z4xc4Pj+4950crjWJsvGq5LiCcM+uCfVXpWwi5Bx zN83lmlBr52LkSXST0SnNFjntWt53s8ybyNu8iifOoNNhrIOZA442QcKP0SpsnmCn0u8wi8+X 23sys489wylMYSjPoX1QZPkHSugAXkOwVSkE0ULmN+VsODDOFlz3MG1a4N41y5wj43IgZsKkX 3nKmxOj/Cs6uAtjQEzTyFFqRYYdl2zqptcavYoQ6ULyc6BOe3k0UMmntAwqn8xENBRM/Yr1fL 0+yN7KzutM1ea+XaDd6/hF/m9h7FETa9IjrXc23grl1lkKiKKo2AD6bCRo6ibRIJKfWhn/WNb lOmaesy+Fvtn5o5kcmu8V7jOLzDlVShYgvw+xLL28423LCDQSGS4CMa88Au6Bo0TuTfW/o9 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Padraig, On 2020-06-07 14:13, Pádraig Brady wrote: > How about we add the exit code table to the man page also? > I've adjusted your patch to do that (along with some other tweaks) in the attached. nice, especially also: > -124 if @var{command} times out > +124 if @var{command} times out, and @option{--preserve-status} is not specified Minor, grammar-related question: > +Upon timeout send the TERM signal to COMMAND, if no other SIGNAL specified.\n\ _______________^ s/timeout/&,/ ? I stumbled upon this sentence a couple of times - shouldn't there be a comma? The word 'timeout' could be a regular noun, a verb, or in this special case the name of the tool, so I had to read the first half several times. But maybe it's only me as a non-native English speaker - commas are much cheaper over here. ;-) Thanks & have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 08:39:45 2020 Received: (at 41634) by debbugs.gnu.org; 7 Jun 2020 12:39:45 +0000 Received: from localhost ([127.0.0.1]:53467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhuaX-0002gD-EW for submit@debbugs.gnu.org; Sun, 07 Jun 2020 08:39:45 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:57957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhuaV-0002fz-Lu for 41634@debbugs.gnu.org; Sun, 07 Jun 2020 08:39:44 -0400 Received: from [192.168.101.10] ([91.1.209.5]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MeD1l-1j8JFn0aSl-00bJ3Z; Sun, 07 Jun 2020 14:39:36 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Jonny Grant , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: Date: Sun, 7 Jun 2020 14:39:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:+KZjTteSX1Zv0NJWWTG7XDWn+cwt4HCER52+EdolTaB3XK8Eab4 C68z+i8NY8iBC87+fNSwjdKHqcVJ6N2Hs+LEAHu2jpQjaPBg3W1U3PXJfNxNDcDOp2zsPxh eJf3WN6NKXo6sjF18I1PLmxl9dVVqRgdF1GUsL/7CCfMZbAayKAAMCQ8fAHykkXKB7LqTMq oqQdTzSsrnvUrZhuUHsAA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:2npkMnFLLz4=:A54/TXedDo2AGFHXgneOM/ vj89lVbAmaw1AYAhKkegMKh7Dwk8DqEt2D+t57GRKTWcTk7pN2oLu+jtfntnitSKSnPJRXgDi Xb7W6krEMjbFQZMpD5nbMJEg7p268IWkl9+DRnjy/bBiExXsHxL0lXslcoss4KKxDQj678mPt BtQ0aYgScBwBYe4h7urna2PShLkakRR64NapI+5Al+SshdIuDOywh0/PCG4Gvg0op2L8hrxQd /HDam7sdP8oOmDVYs2Po8e+8uBT4mDxBfZkxuPnPBvpbyKefEgDiu65MdaYPCoQII6IGoJz1i iZIiaT546rLvCtt/VEO/a/ahoTGaZNLz+UjRcm4tqvpv9L39GlhBRpyyJ+KksBoKUtQ/hFcl3 hxGN8lskxfrjdwQwZm7wUdlJLt8gml+B0vd+tU/4waiggNbGbm4YQUxDFJUTwxyyOE7zEhemE Ir7GNr8cWejG0yPXcuaOGshOUANMjJghvFR1cr7Ep7euB9H1r188fNmOgprChpD+9Emfse5WE LEEsL69m6z62yzFWIktwHGztMRmb++9o18y1Zw6JaBDsNUqZbZSv+hOyTkv3/BUkPPh/fHgZa WZ2+uJyNd0OmMAgJjZHmPfnKLqyp7MNUIo8TUUFRlbMujUI4wxDCOMwZo9TELgyN8UApcz+V+ Kn8PqJz5N3lvOdI0sUgjcaIHfBeekxoayHpo1YQy3Y7jhJ47vhTGAwcGZX/TFiKwgf3haMwhF xLN38KNZ92Tb9A7+t6s3vBoFyTfgcjIIoXW62HjtC6gqq1xehw3m8Wx16hEFTf0xAehT3N/Z2 S7NkpxUeHpF+VurZKQLNDE6zNnFr5tf8By3DruqGvE3e+j674IlkuBU33iK2swTq+vzK17j X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2020-06-06 23:49, Jonny Grant wrote: > Great patch. thanks, Padraig meanwhile further improved it. > How about writing signal 9 by the name, ie $ kill -s KILL > likewise $ kill -s TERM Where do you mean? Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 09:34:11 2020 Received: (at 41634) by debbugs.gnu.org; 7 Jun 2020 13:34:11 +0000 Received: from localhost ([127.0.0.1]:53474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhvRD-00040t-HR for submit@debbugs.gnu.org; Sun, 07 Jun 2020 09:34:11 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:40401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhvRB-00040h-7o for 41634@debbugs.gnu.org; Sun, 07 Jun 2020 09:34:09 -0400 Received: by mail-wr1-f47.google.com with SMTP id h5so14559051wrc.7 for <41634@debbugs.gnu.org>; Sun, 07 Jun 2020 06:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=t6reCXeksk8Fk2TNffrzPVm2V3R++yfeOpUTd+p3Oxc=; b=XwBTUl1yciQZhGTF2UvP4LlE0WHeRn5VrKaqoe50OKslRFugYjfO+ywJyjkYRqtspf 8yhb8byhj6Jllt0qBKB79UDeHMEZl7qMnETAs58fqHc3toafMX2Fm418mxt5VUYZKI4c LOuvdCtuc1wCIj/zH/S31k3xWQ+zrYoyP1MKvbyu9DW9zO1R/SlSWjNnbA3opMMdMyAg k+ca8mkvGvGQIgoNcTqapYoxy9EVklYq4EsIRpcwzio9sodA98V9OQRaoRI/UXahlzGv hSe3bagQhe6bSxcNks8yK/zOQrFC3ObxI++t5Zfz2FMk7HkWv2tk0C6FzpXCs9qO7RCR 6P3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=t6reCXeksk8Fk2TNffrzPVm2V3R++yfeOpUTd+p3Oxc=; b=KWwoNxOuifz6TJQjvz9JeaMMs5YyCVSz5S/JPsQLGgfeNnGz4HfNXxoghtLbIQH1OY SItMEkcHRvD+tSc0BvVemQbPyiLW7zCPqB+uPQC346Tg8kQEi8EsbYKdtx4LMXgnvnzA WMsaTcK+ViiSucOWAP/GYJ6PF5JldPJVIdqCfa/BpnsOjDbYGXiUNR2WVtM3SKNuy2MO s4Kc6ZuLGGZ7atigTxmCUNwOGSAE3Qm9fHb2DSIRfwb3atFzyQWaRe3wmWc/+5xExXWq zuZu71f7KgV7XmuRmeG6wTPiJ7WaFMZMlofBMkDBf4azlL4GrFuuMjNPQQ2cmdMmwi8v 7AKA== X-Gm-Message-State: AOAM531wYa6quov/trGOJ3iLHHwebFRduiwqTflXLyGiR0fXIkU/5uzY JrCzly/NXww9Gn6+vrSwjXMoVu8X X-Google-Smtp-Source: ABdhPJxYSXghTtqspcg9tGyirm1yTTzt+QXQ5xnlo3BD4r7HqRIroPxSFbfRaqLp8bAo1Ry6ZRVU2w== X-Received: by 2002:adf:bb4f:: with SMTP id x15mr18004183wrg.332.1591536842983; Sun, 07 Jun 2020 06:34:02 -0700 (PDT) Received: from localhost.localdomain (86-42-14-227-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.42.14.227]) by smtp.googlemail.com with ESMTPSA id b8sm19822310wrm.35.2020.06.07.06.34.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jun 2020 06:34:02 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <89294ed5-3141-64fa-f9bd-a2c80a35a48a@draigBrady.com> <3ca165fe-0532-3188-3347-341dcccce816@bernhard-voelker.de> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <88abc5d4-b4e0-21d2-f4c5-4a3d76b177b5@draigBrady.com> Date: Sun, 7 Jun 2020 14:34:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Thunderbird/76.0 MIME-Version: 1.0 In-Reply-To: <3ca165fe-0532-3188-3347-341dcccce816@bernhard-voelker.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 07/06/2020 13:38, Bernhard Voelker wrote: > Minor, grammar-related question: > >> +Upon timeout send the TERM signal to COMMAND, if no other SIGNAL specified.\n\ > _______________^ > s/timeout/&,/ ? > > I stumbled upon this sentence a couple of times - shouldn't there be a comma? > The word 'timeout' could be a regular noun, a verb, or in this special case > the name of the tool, so I had to read the first half several times. > But maybe it's only me as a non-native English speaker - commas are much > cheaper over here. ;-) When writing --help we tend to be space limited, so I tend to write with punctuation mainly as disambiguation. But indeed it is better to add the comma there, and we have space. cheers, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 09:45:37 2020 Received: (at 41634-done) by debbugs.gnu.org; 7 Jun 2020 13:45:38 +0000 Received: from localhost ([127.0.0.1]:53494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhvcH-0004IN-Nw for submit@debbugs.gnu.org; Sun, 07 Jun 2020 09:45:37 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:51901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhvcF-0004I9-J8 for 41634-done@debbugs.gnu.org; Sun, 07 Jun 2020 09:45:36 -0400 Received: from [192.168.101.10] ([91.1.209.5]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M5x9B-1jc9ul2Qup-007SCh; Sun, 07 Jun 2020 15:45:28 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: =?UTF-8?Q?P=c3=a1draig_Brady?= References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <89294ed5-3141-64fa-f9bd-a2c80a35a48a@draigBrady.com> <3ca165fe-0532-3188-3347-341dcccce816@bernhard-voelker.de> <88abc5d4-b4e0-21d2-f4c5-4a3d76b177b5@draigBrady.com> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: <2927acbe-2a08-ef91-ae22-1c5ca3f94374@bernhard-voelker.de> Date: Sun, 7 Jun 2020 15:45:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <88abc5d4-b4e0-21d2-f4c5-4a3d76b177b5@draigBrady.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:P8fvwg66GuyiSKIr+kzOs44U9mQZTjopIQ6ADdPN8rH7+znSWu1 hGY5H1tesd1UGU/JmgtvKDstK+B4H0MIxK14tITDeqRVwWKXMG0GP0LaU6/k9KioqWpxEKM +H8dSS5S0zOwF+HO3GsAmjIJV00KkSdBVN1GpvDUbkKxWPQtnK6EY9t27rY5K2q+reIPUC/ 1/f4lS+6PoZE/FaBbHaeA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:QjMMpYB2vMA=:VcufxegYvdTiDkktgU/pv9 KJJQjBq5JvMeJ//BRRJVb0E5NVx1HpxmnXteXYEepeQ3Z9nMT8DqBotHL5xt49G4EwecOpCYY 6wLDfEoWqApoeBQnRKdnSuojksFYWEukdeLkDjQ4j8k7XuoOx2DFHnCdEj4SDwvfOgnLRMFAx XQvRYJyqAn+wObtcZVbY37Q8uwyE/06JFTK7IbaSGWgvOA1czvNJ2OPYuFqRDnUNkWF0dUGpy vmDrkBufKTMgJmnqOkziA4bReX/jcdOG0KnJAZc/tfnkSOvmIjj9f5yA6vveOgCrbhnC+HrXA Z3hHA1wKLXo5vBfPz3uSYN87rCAfzy0jAlgFEAqaOgAttquIpPliUom03/LjU/J67F8a39Ce8 v4I0srGY1VYrpcMbMMNK9gaZ6pRhHZo815nsu+n8VQPPdekzvATCrVRiA0nRo9vbm25QUchOk 8NR+0GUgsfaAT2C3oGplNZKppJn8eo+CmalOI6YtIw/GnmofuTcf3BH8tAk6j5VSekfQtOsIV khzPCVORHWs6NbicoiGaCKSUgHgr6eeNzemUeDq93lCiGQIvVi+fi64N+1kN3f44o4z1rcfcy zgiHUUf5s1N1s0jIxypC9b3VUnUhJuaZRl5qNJeihJVYfRbhP+JUwYgJdw329/iB7kSglOUKC 72RP0ImQa497nCD6pkB5drdXVXUPN5GqZBTEuhQT72tEM/nyydziuMVplaXmFQy0W2oGHIy+m PhwwGksbkwnIpN+wWskEcRyBLubSSmhdf/bU8sCLnYnwjKem2G4Z4lqknglf+6Bl4BEe7/Ha4 gV28ux/kglM86EmkDPH8Sjw67BZGn+nfwJZB8VQBDm9iIZYXvHlG41Y9zOmKVtk6v7/OA7R X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634-done Cc: 41634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2020-06-07 15:34, Pádraig Brady wrote: > [...] it is better to add the comma there [...] thanks, pushed with that change: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=189776ff3b Marking this as done. Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 12:04:49 2020 Received: (at 41634) by debbugs.gnu.org; 7 Jun 2020 16:04:49 +0000 Received: from localhost ([127.0.0.1]:54735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxmy-0001ne-U0 for submit@debbugs.gnu.org; Sun, 07 Jun 2020 12:04:49 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:46821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxmv-0001nQ-SC for 41634@debbugs.gnu.org; Sun, 07 Jun 2020 12:04:46 -0400 Received: by mail-wr1-f53.google.com with SMTP id x6so14717772wrm.13 for <41634@debbugs.gnu.org>; Sun, 07 Jun 2020 09:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=snlh1TWTgSVUzsJBdQJyTRt3fiHQgxYAcTbwD7dM0Z0=; b=E03qUjWUHadqJJSVYUXrWTt3DRXrYH9Rtx5NjjshJwakaWT4EOz7kgBOMudeEDTAsv 8l+ZlXboQa+X58unwFSLLIo5FsFPpw/YFSZZ2Avee14sNEvMpUR5kikXRg5Y7pMchU+Z IpnnSN+Ekw3OMZOdqVhcVBr98as/t6nXZbtTCIHfRWbbkqeTSJTdOkvjjjg9fDjtZiSp 4wPoIBHEatsl89Tbkn+79T6PDYf00rYTrW8xYFJ9nF8dHAXHp5pCYZ3ZdVSECROhjTt+ NOQY4hrTYTY6UIXEH4fxmmdgfGLMbu4yByJ3DG0+yExTB8Nbh+0S1tXZdW/RaY6LHdOy Ns4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=snlh1TWTgSVUzsJBdQJyTRt3fiHQgxYAcTbwD7dM0Z0=; b=B/LDk5Z4t6ewYfdAC4qcnWCgqyAtQPWrTzgjXlDZnV1WlF8+v7O5rEgKrpgwut0mcp lwZeljqo5Lc3Z+aq8N5mpm3DMVcDk9klw8uomiWUVy/7szYWFjdRx+yVHM332lDfYtF9 7LW08bhB75s/xTPvPt8gu5QShxGhzL5eQmke7smQK7qKUQdKhOJCWMKyzyqAARgHQhA6 b2LEcLRXOiaf61kxZADXAx/2hKy/9RKZLL9rG6DsxPV21r6kvDKyxRafmnQisvzjohV/ ZFG6oiHCdz6Yqds94clXn4axdsdG1fsZu4cJCfNd6woh2C8CT5FbJCwot/LNIdPL7Bin vkkA== X-Gm-Message-State: AOAM532yziRSr6dy6rzhx+5pUdZS124zK8h9E8WvPY6MchtNlY4AfCLc WXySzPMfhTkb/TkyTIEseQu/XQ0NDMs= X-Google-Smtp-Source: ABdhPJwb89bLkwvF1PchKI5ymYwrlhHwAREw/684Qrw6pnqMw1vWReV9VI3MHpuVLSBUsTDsT3udHw== X-Received: by 2002:a5d:54c3:: with SMTP id x3mr18802966wrv.312.1591545879726; Sun, 07 Jun 2020 09:04:39 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id s5sm19917152wme.37.2020.06.07.09.04.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jun 2020 09:04:38 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> From: Jonny Grant Message-ID: Date: Sun, 7 Jun 2020 17:04:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 07/06/2020 13:39, Bernhard Voelker wrote: > On 2020-06-06 23:49, Jonny Grant wrote: >> Great patch. > > thanks, Padraig meanwhile further improved it. > >> How about writing signal 9 by the name, ie $ kill -s KILL >> likewise $ kill -s TERM > > Where do you mean? > > Have a nice day, > Berny > Hi Berny Sorry I was meaning to give an example of a shell command to send KILL, but maybe it's not necessary. BTW, I saw the patch was applied. Great it's improved I saw this new line is clearer: "Upon timeout, send the TERM signal to COMMAND, if no other SIGNAL specified." However, I thought even clearer is this variation :- "Upon timeout, if no SIGNAL specified by --signal, send the TERM signal to COMMAND." May I ask, do these texinfo changes also go into the man page? This is the man page 8.32, and it doesn't match the html manual https://www.man7.org/linux/man-pages/man1/timeout.1.html I'm looking at the generated html manual: https://www.gnu.org/software/coreutils/manual/coreutils.html#timeout-invocation I don't know if these html pages can be updated to show the coreutil version on them at all at the top oand bottom? Could an example be given on the man page and manual? ======= EXAMPLE The command below gives an example to demonstrate the use of this, sending HUP signal after 5 seconds, and sending the KILL signal after 10 seconds if 'ls' has not finished. $ timeout -k 10s -s HUP 5s ls ======= My last question There is -k, it would be clearer if it was possible to specify -t or --timeout, "$ timeout -k 11s 6s ls" This always looks ambiguous to me, but the 11s is the KILL, and the 6s is the regular TERM signal. Would you consider supporting a -t ? So then we could write "$ timeout -t 6s -k 11s ls" or even "$ timeout --timeout=6s --kill-after=11s ls" Cheers Jonny From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 15 16:57:38 2020 Received: (at 41634) by debbugs.gnu.org; 15 Jun 2020 20:57:38 +0000 Received: from localhost ([127.0.0.1]:47597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkwAj-0001KT-UZ for submit@debbugs.gnu.org; Mon, 15 Jun 2020 16:57:38 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:42903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkwAi-0001KF-9T for 41634@debbugs.gnu.org; Mon, 15 Jun 2020 16:57:37 -0400 Received: from [192.168.101.10] ([91.1.209.5]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MCXhr-1jbHWF2Brn-009l1k; Mon, 15 Jun 2020 22:57:28 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Jonny Grant , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: Date: Mon, 15 Jun 2020 22:57:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------DCC5F088C01C3DC3BDE53C9D" Content-Language: en-US X-Provags-ID: V03:K1:yoEd4Jq2dOGWM0reXeIf/s+6K2pD9uYNMpxxaEh1nWt0uy93x7B PW+1+F2xsEWQHmpaZMgNkMdRK/e7GpLhKVRPHcmWiz4OjUBs/bxwrvDDvbgjF1TkOa3Zcig AsYcUm0sJ94CJLl7OvnJvqvJX9L6dri4T1IncxDRuE72p3lKIMHIJJxo83/yW5a2DHioTzF mc8PzP3s+qzHE3o/o1+XA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wd74kzvKmd4=:2jzsPD471CXQPnNgyg/AhB nhtJGGaaeMasTSMaB2WQmHEGeRn1V3dh2c2EvXy0E2OZow0G4JiLblwxzDT4eNAgeezVruK3s s02jYEyxUbqXl0r/ra3l1VAa8xvu4LlqTDC6ZI/qpGX8vUWnpZWUiVxxav5RRPIl/RUHUgCK4 fcSruPay5LgainvMlfwN+HaCTXNgbMa771izNZ0oPbyNCdk37DVzlvuqO4+6wWhf14Z3Tbiyz I+rCDDTB2GBN8U32p4K4fkMgh3fFJJyjhjcDuOcMHp6pDMh0tgdHSX8c4qc4ry2ykl7WDTfRh K1A7bgknp+M1M19HGNCqs55YqA8iCrYhhfX+cvuLyeDNCles5kiNJetm+Qx80l1BUbY5nXl11 XcANQoHkit4riBheO5IhWkhDSP57U2Y2dretQwHoVhMlZx8LLsWGg7AM4Vby6ImIqD/d0cjqL Yqh5WpKgLcSDJTFf/+8FFGIh5JfMHUkCLMCi7sOOxY5Z5TDeFu0XsLP8AwLgiN+vBqX4FpK6u mYsDdwOuZhUIocSbD31YPS6P6/f3GbIqj/uKZU/+dyu+gR9uKxaHbSndz714ICode0dg8TNNI EspQN7wnRl9SVNlu9pJuZxFL5FgJ6Hy2rGxhLoYvgSFU3k6BqxxjBfUh/VxXsazKHfK3XtplT J8ig8fHuet+TyBqb3tAvOI9IRUGsTBoH808OeCYhqD+XFKi/Pu2+4Zhrrq+qwBF60X5JBU217 uVBBPmgrv1nQfKu3atFWhymwq2/Q8PisDDtJ5sMmeNwCzWCyqFJ8Eq3KGIu4xHwfB/5e9hE/F wodWHDuXxFkCnqWKJCVah225vqrTWhFK8iQwvLsLvtXPLqfZ/gnby+EAoc7TWkpUFbLMHSt X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------DCC5F088C01C3DC3BDE53C9D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Jonny, On 2020-06-07 18:04, Jonny Grant wrote: > Hi Berny > > Sorry I was meaning to give an example of a shell command to send KILL, but maybe it's not necessary. > > BTW, I saw the patch was applied. Great it's improved > > > I saw this new line is clearer: > "Upon timeout, send the TERM signal to COMMAND, if no other SIGNAL specified." > > However, I thought even clearer is this variation :- > "Upon timeout, if no SIGNAL specified by --signal, send the TERM signal to COMMAND." IMO this is not really correct, as it states that a signal - TERM - is (only?) sent in the case when --signal was not used, i.e., what happens in "else"? It's hard to write short and precise man documentation. > May I ask, do these texinfo changes also go into the man page? No, at GNU coreutils (and lots of other GNU projects in general), we intend to have small man pages, and leave the more detailed information in the Texinfo manual: https://www.gnu.org/prep/standards/html_node/Man-Pages.html Actually, the coreutils man pages are generated by running the tools with --help, with some tiny information augmented where useful. > This is the man page 8.32, and it doesn't match the html manual > https://www.man7.org/linux/man-pages/man1/timeout.1.html The man page project collects the latest version after a release. > I'm looking at the generated html manual: > https://www.gnu.org/software/coreutils/manual/coreutils.html#timeout-invocation This belongs to the GNU coreutils project and will be updated with the next release. > I don't know if these html pages can be updated to show the coreutil version on them at all at the top oand bottom? Hmm, in the HTML format, this is the first sentence after the table of contents: "This manual documents version 8.32 of the GNU core utilities, ..." In the info reader (`info coreutils`), this is even the first sentence. It's also on the title page of the generated PDF documentation. > Could an example be given on the man page and manual? As said, we wouldn't add such examples to the man page, I'm afraid ... > ======= > EXAMPLE > > The command below gives an example to demonstrate the use of this, sending HUP signal after 5 seconds, and sending the > KILL signal after 10 seconds if 'ls' has not finished. > $ timeout -k 10s -s HUP 5s ls > ======= ... but for sure in the Texinfo manual. The attached is an attempt to add some useful examples. > My last question > > There is -k, it would be clearer if it was possible to specify -t or --timeout, > "$ timeout -k 11s 6s ls" This always looks ambiguous to me, but the 11s is the KILL, and the 6s is the regular TERM > signal. > > Would you consider supporting a -t ? > So then we could write > "$ timeout -t 6s -k 11s ls" > > or even > "$ timeout --timeout=6s --kill-after=11s ls" While that would be possible, I'm not so excited about it. The timeout value is a mandatory value similar to the perms for chmod(1), and I've not seen any requests to support "chmod --mode=MODE FILE". Have a nice day, Berny --------------DCC5F088C01C3DC3BDE53C9D Content-Type: text/x-patch; charset=UTF-8; name="0001-doc-add-timeout-examples.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-doc-add-timeout-examples.patch" >From 33870a01ef65145ccc0cc7f0bf0b76cafec9d95d Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Mon, 15 Jun 2020 22:47:15 +0200 Subject: [PATCH] doc: add timeout examples * doc/coreutils.texi (timeout invocation): Add examples. Suggested by Jonny Grant in https://lists.gnu.org/r/bug-coreutils/2020-06/msg00018.html --- doc/coreutils.texi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 3432fb294..4f6c6129b 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -18153,6 +18153,28 @@ or to @command{timeout} itself, i.e., these cases cannot be distinguished. In the latter case, the @var{command} process may still be alive after @command{timeout} has forcefully been terminated. +Examples: + +@example +# Send the default TERM signal after 20s to a shorter-living 'sleep' command. +# As that terminates with exit status 0 after 1s, 'timeout' returns the same. +timeout 20 sleep 1 + +# Send a INT signal after 5s to the 'sleep' command. Returns after 5 seconds +# with exit status 124 to indicate the sending of the signal. +timeout -s INT 5 sleep 20 + +# Likewise, but ignoring the signal via 'env --ignore-signal'. +# Thus, 'sleep' terminates regularly after the full 20 seconds, +# still 'timeout' returns with exit status 124. +timeout -s INT 5s env --ignore-signal=INT sleep 20 + +# Likewise, but sending another KILL signal 3 seconds after the initial INT. +# Here, 'sleep' is forcefully terminated after about 8 seconds (5+3), +# and 'timeout' returns with an exit status of 137. +timeout -s INT -k 3s 5s env --ignore-signal=INT sleep 20 +@end example + @node Process control @chapter Process control -- 2.27.0 --------------DCC5F088C01C3DC3BDE53C9D-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 03 18:23:33 2020 Received: (at 41634-done) by debbugs.gnu.org; 3 Jul 2020 22:23:33 +0000 Received: from localhost ([127.0.0.1]:57814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrU5l-0003yJ-4V for submit@debbugs.gnu.org; Fri, 03 Jul 2020 18:23:33 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:50863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrU5i-0003y4-0N for 41634-done@debbugs.gnu.org; Fri, 03 Jul 2020 18:23:32 -0400 Received: from [192.168.101.10] ([91.12.165.12]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N14xe-1ip1Xf2yfS-012VUq; Sat, 04 Jul 2020 00:23:21 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 From: Bernhard Voelker To: Jonny Grant , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: <7d11f08f-7431-6075-d76d-6519284e54f5@bernhard-voelker.de> Date: Sat, 4 Jul 2020 00:23:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:+aXpOmdUa/BefnKB2MUSnDpzqLshrls7bd32bOCAqkOavhcHCjl FjR7Uy5Oyjt41ca9tFay6KCX4vFW4rZK67nDqUSAYClvtJfwN//nbFzwjNEURlp2WF4qf1X xhwO7XqgBTh08tBpCcSSsLpaVfcJ2QBymSBiDeq/aLjexYT20jPQGvFIywR5ea34fPj256l PuH2ZQNo8ijK3pQvwE0CA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:WHHL+hIjunM=:oaU/anm8dQnRXq1DaXeAhn 0+j8lAYIvdYdNe4bqm2jNKbcLiXnu4JJ3MhRdSR+MqQrgFDPnvh6wpc3E4vjuxVX3blU8Iqkp Np2JBGkUd7XLKqxVcxN1TXiqlO/NTWLP9KTa4mKDS7DGFIe0MRfG/VlRVxjDgtfkRabILytdA 6hIX03tx4W/62x2g1rlTHL97b0r8pJ5ZvNAzPG1kzVQlmr3WrcWiTiEJiMbOODZomHP2KdCFK t0Yu8UU2Cbv231yBhvqgkhq4glGdrNN5dx6vGJWRI5KxafTzs60WU+24jQMa9fNfHtpdycUka uquRum+YUqwrTD6JdmZj3sJA/jMleVQGENSw/xOdUlMjrUE/uejJ/vuveTRBJ0my+nQv2qwxT SQvB/cimShiPgRqTEL4s2SQHl1XlU5M15RT55gEEoQZP6+RG8o8svlPCPfbuxy/nR6HHxa0Ka RcBO0T9wMq77iYHTgAc4uOQOp9wunGwKrDx8/ss/Gf+dt8+Oa4UDv5PQ0q3bzJaNC9D3x6ML4 B7/q0fAi/l9cwdNAzp4tZYHFjWEImPZqJ++x33EAt+doLnfpr4wWlGbFEojNlmrrFrsKSg1Vq GwGQFJJghpNzWbBCbcUx4vVJIZabd2YQ0zBtYJ1xNNXWWHihA50oXlt9LCc7DVXhzxh6LSGY8 X7X1JrnWclDYujFf09c8B/EEDFv9uh3qerXlYi+oTMF6pNr40zDmqyNpMpVulsqsvMs2Ywd3X CuRLvORNzIX+KnmtNmLGrL+9DA1AaiVSA/XjkM7Fj9KBkvMgbpSKssx2T26xQc3B6ys6uN6Ul hlDZ7O42f1SpV2eZbFGJO5SPKXBycSlFpC25QUeAFhD1AaxNDEXqX2fhFnxTh3osPnFRSOr X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634-done Cc: 41634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2020-06-15 22:57, Bernhard Voelker wrote: > The attached is an attempt to add some useful examples. There were no comments, so I pushed with a few tweaks: https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=b1c6ef230c Marking this as done. Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 03 18:57:30 2020 Received: (at 41634-done) by debbugs.gnu.org; 3 Jul 2020 22:57:31 +0000 Received: from localhost ([127.0.0.1]:57840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrUcc-0004m6-CE for submit@debbugs.gnu.org; Fri, 03 Jul 2020 18:57:30 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:53846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrUcY-0004ll-VE for 41634-done@debbugs.gnu.org; Fri, 03 Jul 2020 18:57:28 -0400 Received: by mail-wm1-f53.google.com with SMTP id j18so33400687wmi.3 for <41634-done@debbugs.gnu.org>; Fri, 03 Jul 2020 15:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=SOGHIiu7SDxltT2HCFPhtW2fE9mWeEhwT8Cwx/6Evsw=; b=jaccmHjg6bm5zmCyjVEulYRtQ2If8qJKle3NAANi53/zcmgerB84VU82RzQWfN495c tcoTEPoJd+ooyNU4YdPNz575eNIUrUVG0hAvcN2SbF3LPYybWOAistT5zMG8jBjiWAji Ro9nzjrE6kQn/ksLnsI5FcbRZHMQPVyOw7MTZe7A50ihCnomYARdBBLjjVXToiCWka0Z 1b2BEZ21OkPsuPZqdvgVEX4kOQcpKCXKrih+dz88Jr5veVqoI8A6mUSA7NTgVWiWMhRF +t3z8sUbC+4IfyDms5MiVVJvjnQ7ASZQV3f8xqHa1bPYMvz/B3GUvum7iaiFHq6QtGrE 8pKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SOGHIiu7SDxltT2HCFPhtW2fE9mWeEhwT8Cwx/6Evsw=; b=eVsWGv2aFpIJNVLYhg2ClgMoZNgZ5Mop9uIquRTVaDhjiAixhWeUQpzaOnrNe+MUrc hqJn7zZwToq53NQwXu+OKss8jKzRbrgnuocyEWm/gxPJg6Livl+jMeP6K2tXYMQyZRUq 6UVVmSFoqSvLyd28G+7Wmadk3Kp9ii3RAV9d5re5bTrtQYBYSz8D3keAowo/ZkicsNeO rjH8CH4zRz6P+uzzJJkCwae8CJYAzMrg1oq2vMKiA3Dp0NAF5zTISYSQfQY9W29LrPo8 I1jSQdVXl4fozwRGtRkeJQYx7TBIM70dxiumGXefftyluNwRqvVzaciobAun+YeFinVj uUsQ== X-Gm-Message-State: AOAM533BaALEKOWPvYbq2LoQNKGNK2XV97sxYlHPXLCGT2oLCWttd9yN T9fhRf11uxJFAjCkBEYxaNUmig== X-Google-Smtp-Source: ABdhPJwoa8YF65ZCm7nrFlvyzqdQKOrC03etXbJVbgT/6759F++HxxCFrUo4sFNypiq6GlHDxSjwog== X-Received: by 2002:a7b:c8c2:: with SMTP id f2mr36839734wml.57.1593817040875; Fri, 03 Jul 2020 15:57:20 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id e5sm15768896wrs.33.2020.07.03.15.57.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Jul 2020 15:57:19 -0700 (PDT) From: Jonny Grant Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7d11f08f-7431-6075-d76d-6519284e54f5@bernhard-voelker.de> Message-ID: Date: Fri, 3 Jul 2020 23:57:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <7d11f08f-7431-6075-d76d-6519284e54f5@bernhard-voelker.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634-done Cc: 41634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 03/07/2020 23:23, Bernhard Voelker wrote: > On 2020-06-15 22:57, Bernhard Voelker wrote: >> The attached is an attempt to add some useful examples. > > There were no comments, so I pushed with a few tweaks: > https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=b1c6ef230c > > Marking this as done. > > Have a nice day, > Berny > Hello Berny Great you committed this. May I ask if that exit status 137 could be clarified as 128+9, where 9 is the KILL signal number in this example please. I've pasted a patch below. Another question, for me it wasn't clear that the "-k 3s" was cumulative with the duration 5, so the total being 8. I thought both durations both counted from when the command was invoked. https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html#timeout-invocation ‘-k duration’ ‘--kill-after=duration’ Ensure the monitored command is killed by also sending a ‘KILL’ signal, after the specified duration. Without this option, if the selected signal proves not to be fatal, timeout does not kill the command. Could this be clarified as "after the existing duration is added to this specified duration, cumulatively from when the command is invoked."? I can make another patch if this would be fine, and my understanding is correct. >From b029a83e4bb6f0d51a8f9eef90b5d46905f7ffc2 Mon Sep 17 00:00:00 2001 From: Jonny Grant Date: Fri, 3 Jul 2020 23:51:15 +0100 Subject: [PATCH] Add an explanation of 137 to timeout example Signed-off-by: Jonny Grant --- doc/coreutils.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index c072b1575..e89ce4d42 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -18178,6 +18178,7 @@ timeout -s INT 5s env --ignore-signal=INT sleep 20 # Likewise, but sending the KILL signal 3 seconds after the initial # INT signal. Hence, 'sleep' is forcefully terminated after about # 8 seconds (5+3), and 'timeout' returns with an exit status of 137. +# The KILL signal number is 9, and 128+9 is 137 timeout -s INT -k 3s 5s env --ignore-signal=INT sleep 20 @end example -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 04 19:25:35 2020 Received: (at 41634-done) by debbugs.gnu.org; 4 Jul 2020 23:25:36 +0000 Received: from localhost ([127.0.0.1]:59834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrrXL-0003Uf-LB for submit@debbugs.gnu.org; Sat, 04 Jul 2020 19:25:35 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:43221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrrXJ-0003UO-MM for 41634-done@debbugs.gnu.org; Sat, 04 Jul 2020 19:25:34 -0400 Received: from [192.168.101.10] ([91.12.165.12]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mft3h-1kXWsm3U9B-00gJj7; Sun, 05 Jul 2020 01:25:25 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Jonny Grant , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7d11f08f-7431-6075-d76d-6519284e54f5@bernhard-voelker.de> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: Date: Sun, 5 Jul 2020 01:25:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------318779DA726AE6335CB89A09" Content-Language: en-US X-Provags-ID: V03:K1:sfLW9bxDmlkbrZJt+3vQRaMDMp8RtWQK7LPpmbY21dlVMb2hoH3 OoEIcYjZUSEKSK7acQtoLUZBAdIsfEmwlS6FTnPjho2a+awRbCTnt6cV4XZUK0AlZEwG3MN lh5xa2wYL9U/ygoSlCC0Mjd6GeohZ5nBoIN5EqczJHVShNdUzNNT4Gh5pwMfKetxtvdyiGT 4UT4ILDUEt/gKQjXKVhSA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3NNATMBpeoE=:6mYrArvqT11nD6efKNJJEV lRBiWX1BLHtI7cg3kZCoTwYmXzeSP75ursiO2bo+3atkmZIstiPF5bVwD/20G2HMN4uMpyRuo qj1Z3qYU+FH1rePLvBgW+A9s2lzWajqiEyN9ivVLoWU/3JZtuC+vRoU8Awm56ds0bAficzIbp tSc0+1XvfRU9v9VKIFCYJOyPzZy7VO8mbf6lnMMxlpsgi9FMfpF/4Cdyy+ZV5xpSymAw6e3n7 mra8lJJjvA2NIWGYbtfh0wpHabytUrsinAtmrfB05Bx+BxjH0jcCEvszcSgtYIru/mb+tUq1z 8c5uR7ywq7B+cXcVMZ4wckB8+FGPlp0VPwgIjL9QsqfLlXMNcuVpq3dgR7qyliKmnHmFxwsx6 ARsRZKipRHjZMeEoRdvSFdVXhEbq6hn6V7t9rkWJmfcva2f9U0aeb7VXEJEBxiuyPzIFGIQyK Ltx0wecztHBPvPGOhrsXHxwdCh5TzYz339pJdnAiitfs0QkaAoUolUUW1RPdVhG7Bp043bMnz vFyyDxYUNXyrYefwiDuWp/oOXZvbTo3SH+VQeXWeMcH93dQFr1bdUjscZZqXkBls9nf3uaERx yWM6/YYqlrgn9sxiMH/txvc+zVavGkkNq//HyBrs+8yyrqdu9j1tvsNWwmLpa6C0cfiL75gDL p86Qd6CZ+kjNwcZnWW5ynpwSu/wtJOgH4RKboUd2Z+XcpZEtWacHIOQMO7OjxYHPNAIyKvSsP HZjvEhI/P18FwmPZcZqQ0k9P5HRTILee7bglnYRkAwKCx3K9NSSUkyIApwZmT9xvhSeRBXoZd F7Gba1M56lASLNmrXFv3ww5FCZnYYF5dMXR420s3nE7SRte+gy6iTtXnC1mUkXM9DVYAk9r X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634-done Cc: 41634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------318779DA726AE6335CB89A09 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 2020-07-04 00:57, Jonny Grant wrote: > May I ask if that exit status 137 could be clarified as 128+9, where 9 is > the KILL signal number in this example please. I've pasted a patch below. Thanks for the patch - this is always a great basis for discussions. Well, this 128+9 arithmetic is explained just a couple of lines above, i.e., where all the value for the exit status are described. So adding it here again looks like repetition to me. > Another question, for me it wasn't clear that the "-k 3s" was cumulative > with the duration 5, so the total being 8. I thought both durations > both counted from when the command was invoked. > > https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html#timeout-invocation > ‘-k duration’ > ‘--kill-after=duration’ > Ensure the monitored command is killed by also sending a ‘KILL’ signal, > after the specified duration. Without this option, if the selected signal > proves not to be fatal, timeout does not kill the command. > > Could this be clarified as "after the existing duration is added to > this specified duration, cumulatively from when the command is invoked."? > I can make another patch if this would be fine, and my understanding is correct. Good catch, this is only documented in --help output (and therefore in timeout.1): -k, --kill-after=DURATION also send a KILL signal if COMMAND is still running this long after the initial signal was sent What about the attached? Thanks & have a nice day, Berny --------------318779DA726AE6335CB89A09 Content-Type: text/x-patch; charset=UTF-8; name="0001-doc-clarify-timeout-k-behavior.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-doc-clarify-timeout-k-behavior.patch" >From 56e4aa9d0c083b9e49747d51866e80acec1142a2 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Sun, 5 Jul 2020 01:20:10 +0200 Subject: [PATCH] doc: clarify 'timeout -k' behavior * doc/coreutils.texi (timeout invocation): Document that the the duration of --kill-after=DURATION begins when sending the initial signal. Also mention that -k does not have any effect if timeout's duration is 0. Suggested by Jonny Grant . --- doc/coreutils.texi | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index c072b1575..80ca2858c 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -18108,9 +18108,19 @@ themselves (like GDB for example). @opindex -k @opindex --kill-after Ensure the monitored @var{command} is killed by also sending a @samp{KILL} -signal, after the specified @var{duration}. Without this option, if the -selected signal proves not to be fatal, @command{timeout} does not kill -the @var{command}. +signal. + +The specified @var{duration} starts from the point in time when +@command{timeout} sends the initial signal to @var{command}, i.e., +not from the beginning when the @var{command} is started. + +This option has no effect if @command{timeout}'s duration is 0 and therefore +disables the associated timeout. + +This option may be useful if the selected signal did not kill the @var{command}, +either because the signal was blocked or ignored, or if the @var{command} takes +too long (e.g. for cleanup work) to terminate itself within a certain amount +of time. @item -s @var{signal} @itemx --signal=@var{signal} -- 2.27.0 --------------318779DA726AE6335CB89A09-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 06:53:38 2020 Received: (at 41634-done) by debbugs.gnu.org; 5 Jul 2020 10:53:38 +0000 Received: from localhost ([127.0.0.1]:60111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1js2HB-0003OL-Od for submit@debbugs.gnu.org; Sun, 05 Jul 2020 06:53:38 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:53480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1js2H8-0003O6-4U for 41634-done@debbugs.gnu.org; Sun, 05 Jul 2020 06:53:36 -0400 Received: by mail-wm1-f50.google.com with SMTP id j18so36157649wmi.3 for <41634-done@debbugs.gnu.org>; Sun, 05 Jul 2020 03:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=kAaw1pKtcKcbPdTRlcf6mfpCeX9bqtdXIRWSuQXVNvc=; b=haCd3Bb3rXyVbK72g91AE8aDOp2Uwa+52g/wvMYm/ys3iYTQVguyDByCKZgLR5Prps 81RebTBCZ7UAwcEN78X0APZn6LVU4BZZ2leKGCTmVN/gaQPDtIXFw7g/BxaSEmNCituE 5bfgyRYZFy3PagASfEOPoMVRIQBSsQbppM6MuCFIdRCem12kvj8YTPzmG3/zLk9VDxat YbfmvxkJffH0+TUzMoryZy1xWJnfOUQbOvSZVt3NVX8hDbKSQPXYE3wXMhRCLPuoP1OB kIFF+1iAzxb7hdP0BG4aFcGL+PCDt6/H4dtFHMkDnrC1+Lv8KkaUkDoyAv6A1VlBtdfZ F/0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kAaw1pKtcKcbPdTRlcf6mfpCeX9bqtdXIRWSuQXVNvc=; b=HVaWtrFCeLNFVZeIOGJo4sImOvPRYxgllpi314IlghYSMKOn3z7aKSagyVPO1X8xBL dVeQ93s7WLDyfcY+exCXtdwoTiNYDIHkPCaMswLt2A5vC41r/77FZA7djJghsawFg5aO PEH87GMgidKAFumFnH3IUsFaMlUE9JuFuHO8C7tF5P7OvW+A9exZpElgKEc5ahM/21th MrDhxEHKLdfniW27aibmuQ419F0bRXJkiT+zbKAtVjlvqqtW6+AlYK807jf08GOcMCeh h9oTrD5Myj8nMrdlIlfcpEot3ihrRc/VF7fYl7GibZTINSAJo5baz1CHsAUV4CXkME6o HI2Q== X-Gm-Message-State: AOAM531FZLTDATcPG6DEqOUEt51vBV/Q6xJUIFPQHASM3lXM0yg/OrT2 +CwzFwuY6Ij37nxpUutKWGb3GTBXzk8= X-Google-Smtp-Source: ABdhPJyODtSbbfYmZSFGBHzpEmY4s8IBQSllcof1btksC+jl3RR6BvFIHcuAhz6tR5CLaaYgL7Jxbw== X-Received: by 2002:a7b:c38f:: with SMTP id s15mr13197723wmj.152.1593946407734; Sun, 05 Jul 2020 03:53:27 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id 30sm20853261wrm.74.2020.07.05.03.53.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jul 2020 03:53:26 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7d11f08f-7431-6075-d76d-6519284e54f5@bernhard-voelker.de> From: Jonny Grant Message-ID: <05a5c247-e6b1-d641-1ddc-cf0b8f00528a@jguk.org> Date: Sun, 5 Jul 2020 11:53:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634-done Cc: 41634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 05/07/2020 00:25, Bernhard Voelker wrote: > On 2020-07-04 00:57, Jonny Grant wrote: >> May I ask if that exit status 137 could be clarified as 128+9, where 9 is >> the KILL signal number in this example please. I've pasted a patch below. > > Thanks for the patch - this is always a great basis for discussions. > > Well, this 128+9 arithmetic is explained just a couple of lines above, > i.e., where all the value for the exit status are described. > So adding it here again looks like repetition to me. Fair enough. >> Another question, for me it wasn't clear that the "-k 3s" was cumulative >> with the duration 5, so the total being 8. I thought both durations >> both counted from when the command was invoked. >> >> https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html#timeout-invocation >> ‘-k duration’ >> ‘--kill-after=duration’ >> Ensure the monitored command is killed by also sending a ‘KILL’ signal, >> after the specified duration. Without this option, if the selected signal >> proves not to be fatal, timeout does not kill the command. >> >> Could this be clarified as "after the existing duration is added to >> this specified duration, cumulatively from when the command is invoked."? >> I can make another patch if this would be fine, and my understanding is correct. > > Good catch, this is only documented in --help output (and therefore in timeout.1): > > -k, --kill-after=DURATION > also send a KILL signal if COMMAND is still running > this long after the initial signal was sent > > What about the attached? > > Thanks & have a nice day, > Berny > Hi Berny Your patch looks great. Is it worth clarifying that --kill-after=0s would send the KILL signal immediately after TERM? $ timeout --kill-after=0s 2s du -h Is it worth rejecting this? At the moment the -k is just ignored. $ timeout -k 2s 0s du -h Cheers Jonny From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 18:59:52 2020 Received: (at 41634) by debbugs.gnu.org; 15 Jul 2020 22:59:52 +0000 Received: from localhost ([127.0.0.1]:53948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvqNU-0006nQ-9l for submit@debbugs.gnu.org; Wed, 15 Jul 2020 18:59:52 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:36090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvqNS-0006nC-Fx for 41634@debbugs.gnu.org; Wed, 15 Jul 2020 18:59:51 -0400 Received: by mail-wm1-f42.google.com with SMTP id 17so7905402wmo.1 for <41634@debbugs.gnu.org>; Wed, 15 Jul 2020 15:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yYVy0yLwsyo2sIxu/eJ0bwz6tiezq8l8RJ1CmGZ4zuo=; b=cMsi9B1JY3K62fjjYadleWIDwGJADkm+tIVyoUeQ6jJNv0NEB53VfiCRirKATjwc8q FIGq5Ep5tAhkWO3Lj2Y1Arl8/sfil0q6LF0yL7eHxdvxf3pamKHxtF12EaZIQAeIOagT 8zZKvfesWA1H3+SA/QQgLpDWfkBa965tq8As2RXGm9OufbVVwxU6IVGocEpBYHSVS2nq MOXYv9pdr7CZjXs4dsKqlTpnQhAaK1GeEWeKPTajmCKLW2veM+bY36Z+4ZSGeMzQitCm h8TEEhwjH2MKgIpxA01HaXtzZ7hXOQQ38Ep7xLOUjxjg+Anzro/4MHps3lYW4JzSjJzm bCFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yYVy0yLwsyo2sIxu/eJ0bwz6tiezq8l8RJ1CmGZ4zuo=; b=rG2tDDCRwyLxhcmjT8fHkKXsp/OKgZDYMfjjFO5O9GBNwv5uDOVXfczOqxaklXACKA /U9mPnsqXRCBa5w1JOM3M7/oDfuJ6Ie6g2uOrWaztXzwnwmphD4dug6dOl2jHRHkeh8F fvlxEoNap/FgPhIErJov7q3OPV9dFXn47EKO2LIvf21n/axqLcm7W+G9MEdVkcfNZlhN 04bmM36ONYqrWMF3K6NyIi1DrU6+uHD3If+e0guCCL0cp8f+moJZgfbqzwHePytxjhTl qFf+zBmjFL8BgpwvlNawjoQGS7A8noTYrS5+vBKmVj8A1ZE53ZXT+4tyZS7RwOqWZ3zb Szhw== X-Gm-Message-State: AOAM530ezJiuvI37WKqeFnPMP96yqIULj7dU6SSMi3OD6w7nTGB5nXE7 NsR3tF/2BnrkioyE5THJHcmhnTdEo7c= X-Google-Smtp-Source: ABdhPJyrtJoLqURbu4Jpj7EgtD4GwQLJW2EKsGcW4wNYalaeAmk6fvLefKxIl9+k3uDlAXVbQyLCnA== X-Received: by 2002:a05:600c:2f17:: with SMTP id r23mr1607019wmn.167.1594853984151; Wed, 15 Jul 2020 15:59:44 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id z16sm5520958wrr.35.2020.07.15.15.59.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Jul 2020 15:59:43 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> From: Jonny Grant Message-ID: <7c1486ab-fa4d-f6e4-8da8-c34c3d60c5e0@jguk.org> Date: Wed, 15 Jul 2020 23:59:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 15/06/2020 21:57, Bernhard Voelker wrote: > Hi Jonny, > > On 2020-06-07 18:04, Jonny Grant wrote: >> Hi Berny >> >> Sorry I was meaning to give an example of a shell command to send KILL, but maybe it's not necessary. >> >> BTW, I saw the patch was applied. Great it's improved >> >> >> I saw this new line is clearer: >> "Upon timeout, send the TERM signal to COMMAND, if no other SIGNAL specified." >> >> However, I thought even clearer is this variation :- >> "Upon timeout, if no SIGNAL specified by --signal, send the TERM signal to COMMAND." > > IMO this is not really correct, as it states that a signal - TERM - is (only?) > sent in the case when --signal was not used, i.e., what happens in "else"? > It's hard to write short and precise man documentation. > >> May I ask, do these texinfo changes also go into the man page? > > No, at GNU coreutils (and lots of other GNU projects in general), we intend > to have small man pages, and leave the more detailed information in the > Texinfo manual: > https://www.gnu.org/prep/standards/html_node/Man-Pages.html > > Actually, the coreutils man pages are generated by running the tools with --help, > with some tiny information augmented where useful. > >> This is the man page 8.32, and it doesn't match the html manual >> https://www.man7.org/linux/man-pages/man1/timeout.1.html > > The man page project collects the latest version after a release. > >> I'm looking at the generated html manual: >> https://www.gnu.org/software/coreutils/manual/coreutils.html#timeout-invocation > > This belongs to the GNU coreutils project and will be updated with the > next release. > >> I don't know if these html pages can be updated to show the coreutil version on them at all at the top oand bottom? > > Hmm, in the HTML format, this is the first sentence after the table of contents: > > "This manual documents version 8.32 of the GNU core utilities, ..." Hi Berny Just to reply on this item. Ah ok, on the HTML page that is still 12 pages after the first page. It would be nice to see it below the title? Before the TOC. https://www.gnu.org/software/coreutils/manual/coreutils.html I didn't search through for the version number, I missed it, as it wasn't at the top, or at the end. Cheers, Jonny From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 20 16:04:28 2020 Received: (at 41634-done) by debbugs.gnu.org; 20 Jul 2020 20:04:28 +0000 Received: from localhost ([127.0.0.1]:36301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxc1T-0002lM-LK for submit@debbugs.gnu.org; Mon, 20 Jul 2020 16:04:28 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:53055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxc1Q-0002l8-NZ for 41634-done@debbugs.gnu.org; Mon, 20 Jul 2020 16:04:27 -0400 Received: from [192.168.101.10] ([91.12.165.12]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MRCBm-1k9d7b3gJg-00NBZM; Mon, 20 Jul 2020 22:04:15 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Jonny Grant , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7d11f08f-7431-6075-d76d-6519284e54f5@bernhard-voelker.de> <05a5c247-e6b1-d641-1ddc-cf0b8f00528a@jguk.org> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: Date: Mon, 20 Jul 2020 22:04:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <05a5c247-e6b1-d641-1ddc-cf0b8f00528a@jguk.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:sScbUIjbuF85jl32bLX1Job6mQGDqs8HBe6UaGql1NnSz00ZCJf /5FR0TsdlChITRGHRVyDlfrxtDPxwRSjv3brzBseqFJENuz5lbNRAzn4Wxz3H3JwBsluPph DIrBcV6D9tycU1gs+n8M88F8bHQQ5FMdjx2tX56533TKCMH0Sy5lI4lnVAvQAGiCtywYe82 9j0RTQuZg9qJgAZHYEqfg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qETMOYxYY6o=:mcs/44MDs707YNjaXwIBp/ VppQluQjm/cTIxTYgZJX2YP/X8LPTsE0FWioqqQlzE14hjOjE1ktlHjg/15R5uylCdmuedlWM wc8EzryFVFpe19FBCgcdUw1jgi+44yOnGx2GgqC/0mvMJiFobhA/Bc/DAWhmWr1scO+7pwk0n 9BfB5q4VAtFPrax030HVMz2VFmzs6cMrVhXysW8mS5KnvyBDtuMt5rNnwBZZA7l6s3KHEYHij p0LubzBEKy9LXkLgIVhi9V0rOJ1m1uc81t5Hn4bJkgTe11sm1jxuc74zmC2YKcU6s8ZN+GW1Z FMt+6THFKYO27F2GqimtRpdhInRMnqCX3uBRvbvDQF8/NXddiE/4sQZ74EMNJB+t07elkgLQU Q8T6nCUOTywpxVahY02Y6an3oU496SY2sXLx9hvF1ITFH8SbJuHK1/wzgNmqgIRpaPr4O/6Ju ssrm3NQtsCfj00V8pUdUGJToPN4r7MrCwOxdayLUE1edv0W2g7w0znHRuAtcSTYQ2Ak2YjC7Z U05aJmO9y2icDAEG0cLl6l7Vp1cNavnDxNSODCcej8LlHpKHOReiX+SU65pBDS0r0ijTlft3t jDSynuq3KIWDhCJeppqSi1IvBDYmJxU3+NlXOJ1RVOQ3379t8WzqIw5bFwin+urvRcw4SN4C6 SjPHECZfkDXayXFNojRMrSd0xrKq8OAkm3Cvzis2M6I0zwhwrh135FtSqoCkJLTQV/YBa+LFg cTmj+gHAgW+hqylJdHtpGqVGCespsrsLu51UYE7yGqFyeRbhake21sAeXSb+bm4RPMAAtryq5 yNelqVhugoOfC6l4gi5o1LSAFd0J3A2lrXPtiQfIZ9RXE7bQlCvwk9qjMZ2wrJjwz4sZGAf9B yrLvvdo8peGGfl4cybXw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634-done Cc: 41634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2020-07-05 12:53, Jonny Grant wrote: > Your patch looks great. Thanks, pushed (with the minor tweak mentioned below) at: https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=49bd08aea > Is it worth clarifying that --kill-after=0s would send the KILL signal immediately after TERM? > $ timeout --kill-after=0s 2s du -h As the signal handler for the regular signal (TERM) does probably not have enough time to do anything before being KILLed, this use case would better be written as: $ timeout -s KILL 2s du -h Not sure this is worth an extra explanation. > Is it worth rejecting this? At the moment the -k is just ignored. > $ timeout -k 2s 0s du -h Hmm, rejecting is a bit harsh. The question is if this is really a problem for the users? I mean once a user knows there is a -k option, I would expect that she has read the documentation about how to use it. It is mentioned both in the Texinfo manual and in the --help output: A duration of 0 disables the associated timeout. I squashed in the following little change: -This option has no effect if @command{timeout}'s duration is 0 and therefore +This option has no effect if @command{timeout}'s duration is 0 which disables the associated timeout. Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 21 11:54:04 2020 Received: (at 41634-done) by debbugs.gnu.org; 21 Jul 2020 15:54:04 +0000 Received: from localhost ([127.0.0.1]:40093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxuah-0001gR-Pl for submit@debbugs.gnu.org; Tue, 21 Jul 2020 11:54:04 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxuaf-0001fv-Tl for 41634-done@debbugs.gnu.org; Tue, 21 Jul 2020 11:54:02 -0400 Received: by mail-wm1-f67.google.com with SMTP id 184so3411869wmb.0 for <41634-done@debbugs.gnu.org>; Tue, 21 Jul 2020 08:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dV46WGBu9sIWB78aIU03RxNE5yMfWLPFfcwjYYEKMm0=; b=QCzSlm10Klstm9wfh4uO7Wajz5m6ddv9RZ1igArUuRlP/tyem/WeAO9c5wYJyye+Lu YghdGIft/aosZWZyAMuA+sqXeKA+/5I6+QsBLh1PBr3P8rZKMQxDB5ArhYiOUoh0tlfq L8wqV6FTrF7vdDq1jJPxCiVrQl02VVAqBHqpet7xVGr0Ru6ZhkqCz3USRjg3TLu74xYO 4AEvu8aY5rE4VuXBSB3ngdinvH0ZA+YDRy5dlqodX7twjHCkvZ+fbUC/Ic4jXu4/sBL5 YKpNKj97QfayHyxf4KnIfNECp3ad+WvVqlNylgVZ1HBPHhCoVHWmrZ6i7phdnOWMJ/T4 XDfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dV46WGBu9sIWB78aIU03RxNE5yMfWLPFfcwjYYEKMm0=; b=surP5u2yHOAUeJVn02HuotxL/Dapb1qUYG4FwYIlFNs43288MV6eUTv3hgSm5Ms2Yb SBoVr7U1yK/gvcQpcdCPF6VznTlNdB8jPZkmHo5a7l2Bh0Xkb84oMPHR0x0Tza8MmGlC h7sPwBW6YFES619nrYWoM6tHTsDQIle3oMMe8aBSGBQtE6yuG7WbGP362/rD9jy/spNl 6JHpGQliA47gV35tgyeDnCkfJY54y6uzxyoNlr9/WXEonN8+dOumBC7D1sfbzCyIpdvl VaBK7wgEAHPvNMdPn79C0AgwDEQkhiZ17oOBRFGgFUN30mJ+9mOh5fvsmmypBMHSQRKJ e4ow== X-Gm-Message-State: AOAM530s1Uqs6kLujQ3XCyEZEjCwLvZ8T8Q8ZVwn4xN3tmnMJmL/SxEh TTb+gA2GvRGNx2aTL8xeggCPIAR51T8= X-Google-Smtp-Source: ABdhPJzeXQ0Dt3ywdARbxK82LqYgrWFhYxPNB1PoEVWaByXchgk5J3veu9/urRhDn3FCKrc+kLTpTA== X-Received: by 2002:a1c:5a41:: with SMTP id o62mr4718763wmb.16.1595346835400; Tue, 21 Jul 2020 08:53:55 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id 133sm4355994wme.5.2020.07.21.08.53.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2020 08:53:54 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7d11f08f-7431-6075-d76d-6519284e54f5@bernhard-voelker.de> <05a5c247-e6b1-d641-1ddc-cf0b8f00528a@jguk.org> From: Jonny Grant Message-ID: <08116485-e03d-36d7-398a-97506917dffb@jguk.org> Date: Tue, 21 Jul 2020 16:53:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41634-done Cc: 41634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 20/07/2020 21:04, Bernhard Voelker wrote: > On 2020-07-05 12:53, Jonny Grant wrote: >> Your patch looks great. > > Thanks, pushed (with the minor tweak mentioned below) at: > https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=49bd08aea > >> Is it worth clarifying that --kill-after=0s would send the KILL signal immediately after TERM? >> $ timeout --kill-after=0s 2s du -h > > As the signal handler for the regular signal (TERM) does probably not have > enough time to do anything before being KILLed, this use case would better > be written as: > > $ timeout -s KILL 2s du -h > > Not sure this is worth an extra explanation. > >> Is it worth rejecting this? At the moment the -k is just ignored. >> $ timeout -k 2s 0s du -h > > Hmm, rejecting is a bit harsh. The question is if this is really > a problem for the users? I mean once a user knows there is a -k > option, I would expect that she has read the documentation about > how to use it. > It is mentioned both in the Texinfo manual and in the --help output: > > A duration of 0 disables the associated timeout. > > I squashed in the following little change: > > -This option has no effect if @command{timeout}'s duration is 0 and therefore > +This option has no effect if @command{timeout}'s duration is 0 which > disables the associated timeout. > > Have a nice day, > Berny Looks great! Jonny From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 28 17:38:30 2020 Received: (at 41634) by debbugs.gnu.org; 28 Jul 2020 21:38:30 +0000 Received: from localhost ([127.0.0.1]:59305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0XIr-00048I-Q0 for submit@debbugs.gnu.org; Tue, 28 Jul 2020 17:38:30 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:38315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0XIp-000485-Ha for 41634@debbugs.gnu.org; Tue, 28 Jul 2020 17:38:28 -0400 Received: from [192.168.101.10] ([91.12.165.12]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MOiLp-1kQhnS2M0N-00QFXE; Tue, 28 Jul 2020 23:38:17 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Jonny Grant , Andreas Schwab , Padraig Brady References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7c1486ab-fa4d-f6e4-8da8-c34c3d60c5e0@jguk.org> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: <71e5953d-8f97-eb3d-e401-6be51277fe28@bernhard-voelker.de> Date: Tue, 28 Jul 2020 23:38:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <7c1486ab-fa4d-f6e4-8da8-c34c3d60c5e0@jguk.org> Content-Type: multipart/mixed; boundary="------------93589B3BF9D8326E27EB1B12" Content-Language: en-US X-Provags-ID: V03:K1:/Zwc3Rmg446b+kzm++8fDd/kgpDiW7zjtG7ZCpFDbJKb3KRUSac 7uDPzFHstocMwbOneqQHG9FW/HUTTsAS+0CxOLsJt58dLsf5fVOXkiwRsL+XXQOkhFlSQP2 NA3aN3+M/9imRJxIwLd0TY+wsoF2uxoQ1u+6s0WKhxw0RAWvuHWYYnDJEz4e8YZ9OboCdAQ s55iXGH+GzCFMjHZdlzXQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:8LhASTKimzg=:NEoYRG8lKfOB+lyPjCAQic XtApOgLkI8/iK7Gp4oP85QHShZTFY/cX3Zmx2YyKRmBMAwbDgbvvRGML2OS3kDlXkzU2yESBP s0wiNVCZx0+ETMI+H4Ua3vGu2uwDw3GiQoNup4gvt8xUFJi4WEI54LahZIyq4U511mNhEF/N8 XLEe53FHbTzGhB8ohjSOafrK3ciHRUZg5J02CwZk0ipWblEwxJdO1Vtf+sC7RK39vIlquk5ax euZ3nAPGHvOqkpTemcVgjrZyo+jeE2glsKqZzcqVUwNW+YsAZWCn9cijt1wketijMnFGONLkh 9WeVQCyCRX/127xThby8CEX0GKPkMcp4PpPEw4UVEx0H6uBCQddqhd1iCFFG4mzYKz5BeNouk m7y77RgJSsZuk7qZGamWN6F3CCqv5jP3wPaGXoOXi8dEEawtQxaJjuDgkbwc2t28KMa98Mv6n Y5ZLzPygDcZpCyoMXWs869obJBfhH5VWLWtfnhobXeEo1gcu57fQyC3orXXteZ1FzEQsrqsIe l7oqyhPGi3Nnjdg1I/6XDiq/DmTMvqShf/ZZ0VHNnR3EgjDD//tcMQ0u+m/bWGw3gzFgCopQC ENVjZByaw3Ek4xvQWsq/bE/Rcv0paNeXQJJAqM5MhVbvN/xy3x9XBy1EYyfUQJK3KGTtuLIP2 rbX6tD3bZqQOJ6VsJtH67Jq4eEr+f0EvI97Ts6GVpJxXha4d3s5sTMm+AqDlgzuLw0cKwHtwL WayoeuGnhSBJlple1S3ffINGmjEYJnfrcg31wmnoSMRGUSGc4zgjw6V/7cIt3nZwV464Y4S7u FW2F201pd9pg6S54M2W5QYkv5Jhh94E6etvyqOhHRxWMWHAsmPwnYLg6PkgDfHsnqAcE09opY gLKWHjtNhDy2jsVewHqQ== X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) This is a multi-part message in MIME format. --------------93589B3BF9D8326E27EB1B12 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 2020-07-16 00:59, Jonny Grant wrote: > On 15/06/2020 21:57, Bernhard Voelker wrote: >> Hmm, in the HTML format, this is the first sentence after the table of contents: >> >> "This manual documents version 8.32 of the GNU core utilities, ..." > > Hi Berny > Just to reply on this item. > > Ah ok, on the HTML page that is still 12 pages after the first page. It would be nice to see it below the title? Before the TOC. > https://www.gnu.org/software/coreutils/manual/coreutils.html > > I didn't search through for the version number, I missed it, as it wasn't at the top, or at the end. The attached adds the version to the title of the HTML manual. E.g. grep also has it: https://www.gnu.org/software/grep/manual/html_node/index.html @Padraig: okay to push? Have a nice day, Berny --------------93589B3BF9D8326E27EB1B12 Content-Type: text/x-patch; charset=UTF-8; name="0001-doc-show-version-in-title-of-HTML-manual.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-doc-show-version-in-title-of-HTML-manual.patch" >From 881c3f20ec435a9c57390853483942fa1101c32b Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue, 28 Jul 2020 23:28:45 +0200 Subject: [PATCH] doc: show version in title of HTML manual * doc/coreutils.texi (@include version.texi): Move before ... (@settitle): ... this. Add the version after the package name. Suggested by Jonny Grant in https://lists.gnu.org/r/bug-coreutils/2020-07/msg00021.html --- doc/coreutils.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index bebccbcb6..52d4cfcbe 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -1,13 +1,13 @@ \input texinfo @c %**start of header @setfilename coreutils.info -@settitle GNU Coreutils +@include version.texi +@settitle GNU Coreutils @value{VERSION} @documentencoding UTF-8 @allowcodebreaks false @c %**end of header -@include version.texi @include constants.texi @c Define new indices. -- 2.27.0 --------------93589B3BF9D8326E27EB1B12-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 28 17:54:08 2020 Received: (at 41634) by debbugs.gnu.org; 28 Jul 2020 21:54:08 +0000 Received: from localhost ([127.0.0.1]:59340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0XY0-0004VZ-0A for submit@debbugs.gnu.org; Tue, 28 Jul 2020 17:54:08 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:50327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0XXx-0004V4-Cj for 41634@debbugs.gnu.org; Tue, 28 Jul 2020 17:54:07 -0400 Received: by mail-wm1-f42.google.com with SMTP id c80so928042wme.0 for <41634@debbugs.gnu.org>; Tue, 28 Jul 2020 14:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8Z3DCXEo3mZJDhm+X/jZE71NFJwP9mLW5j/JIEqxRdk=; b=OFOk0D4PzfY+//657+Ye6/5LI0gbXc/ck/93nYNDz5mGD6ahn6hQFbiI+OS9/eHp6Z CuzfdjHaKLOHLASR8ljnmzeonlfPkC/XRRbqxsfo1PJ5TVOCRRam4aHs979Kbo9LMPxF 1IIITL2AKqAP4gwMqmT9JxhtCCFxeKZjQ9cty9o+78/wkBI2wGMG7dNMnNL+mn3Uebin f7hEJMMQAeT0tFo5jnxnVf74rKF5o+S2wPSPDjdR2WMjr8g/u2m/3+HEu81CTx0gyx/O jLsCWoFxzbXTdctoLvME4l45J1oq6EQiOb7sGiFRMY3+a6pyS+BMcC1e7iMDTGP8rIfR QPUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8Z3DCXEo3mZJDhm+X/jZE71NFJwP9mLW5j/JIEqxRdk=; b=Sh1REULrzI4Uy178tiqD9/I4/NFCuFFPXdEBBL59Jgm/+x4rqM0Z97BZWF7k9vxZ0/ x5jRUA/8fqUlctFzEKYsuc5HzxXQsSte9oHc4nx2fXAGBCSfOSMylW6EktEwlwShIvs+ BxCRgDOLuiEibZh6N02Ew8vidGXQ6hvP8tJImTcc8NrCaoutJUEXbHpq0KIT2KiWMTz+ MU+WWHxMsRQHKCq61Ikz94VAvv0ZdAmbU4guWn5yNri8fPt/E/0ewlDSNL/RhuQkMpla vJ7OV4wuVBLSXmg/K+7xdZLYWUJ5pJKHaOVnxpcUcB+q7uJ2HvBDCT6NKJO8qB2W7Vp2 v8dw== X-Gm-Message-State: AOAM5320Xk6VwOXzT4w/Rm+imyTtt8aTO5A/DMZRkFypn7+ODAQQ+rJ3 Kg4T5dGGkRIMsfOKSXN0znJ3GFlX X-Google-Smtp-Source: ABdhPJz7p2OB5ph2qeSXkXtl5b7WToIphDa0upaCeHiJpI8swccojj9+Eoiqfj+Mv50OQWLlJ0LBSg== X-Received: by 2002:a1c:38c5:: with SMTP id f188mr3265822wma.7.1595973239133; Tue, 28 Jul 2020 14:53:59 -0700 (PDT) Received: from localhost.localdomain (86-42-14-227-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.42.14.227]) by smtp.googlemail.com with ESMTPSA id 14sm353545wmk.19.2020.07.28.14.53.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Jul 2020 14:53:58 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , Jonny Grant , Andreas Schwab , Padraig Brady References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7c1486ab-fa4d-f6e4-8da8-c34c3d60c5e0@jguk.org> <71e5953d-8f97-eb3d-e401-6be51277fe28@bernhard-voelker.de> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <989a48fb-a825-cf8f-eaef-fedacbc15281@draigBrady.com> Date: Tue, 28 Jul 2020 22:53:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Thunderbird/79.0 MIME-Version: 1.0 In-Reply-To: <71e5953d-8f97-eb3d-e401-6be51277fe28@bernhard-voelker.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) On 28/07/2020 22:38, Bernhard Voelker wrote: > On 2020-07-16 00:59, Jonny Grant wrote: >> On 15/06/2020 21:57, Bernhard Voelker wrote: >>> Hmm, in the HTML format, this is the first sentence after the table of contents: >>> >>> "This manual documents version 8.32 of the GNU core utilities, ..." >> >> Hi Berny >> Just to reply on this item. >> >> Ah ok, on the HTML page that is still 12 pages after the first page. It would be nice to see it below the title? Before the TOC. >> https://www.gnu.org/software/coreutils/manual/coreutils.html >> >> I didn't search through for the version number, I missed it, as it wasn't at the top, or at the end. > > The attached adds the version to the title of the HTML manual. > E.g. grep also has it: > https://www.gnu.org/software/grep/manual/html_node/index.html > > @Padraig: okay to push? +1 thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 28 18:41:42 2020 Received: (at 41634) by debbugs.gnu.org; 28 Jul 2020 22:41:42 +0000 Received: from localhost ([127.0.0.1]:59415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0YI2-0005j8-2w for submit@debbugs.gnu.org; Tue, 28 Jul 2020 18:41:42 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:54973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0YHv-0005io-WC for 41634@debbugs.gnu.org; Tue, 28 Jul 2020 18:41:40 -0400 Received: from [192.168.101.10] ([91.12.165.12]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MaIzb-1kFBIJ3P0f-00WIDP; Wed, 29 Jul 2020 00:41:26 +0200 Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: =?UTF-8?Q?P=c3=a1draig_Brady?= , Jonny Grant , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7c1486ab-fa4d-f6e4-8da8-c34c3d60c5e0@jguk.org> <71e5953d-8f97-eb3d-e401-6be51277fe28@bernhard-voelker.de> <989a48fb-a825-cf8f-eaef-fedacbc15281@draigBrady.com> From: Bernhard Voelker Autocrypt: addr=mail@bernhard-voelker.de; prefer-encrypt=mutual; keydata= mQENBFPirzMBCACyzYldTjQ4ufFOkByY5Nn5USb5GFoL48nWBwNHjd9KUbtRRNlQiPNKd6hK Gvd3BGi5aoFKA4ytfRk6jbAbW3jVb3R8wYaV08mOy4KVEKxqN4bxsXlMjNChXVR+rtKDmfI+ oPTL+cPH2X6gW4W02IRbVw0uUhNm6zEedC/gNrY/mTlf1enZ46jxZ7BTUZaG+kx38UMISIMB zSzLRtdkwgmHj4jS3p1fF2cwRqLclIfMjKGpbNFPEXeXKWrCLcqHw78795eAR9q0YvrDkfIn GdDBwfb3VM4NdulwIFzvYZMSXvSbbyPLB5YkHU5aAWQHUse4WlfT5ccDpbzUYldRAvF9ABEB AAG0K0Jlcm5oYXJkIFZvZWxrZXIgPG1haWxAYmVybmhhcmQtdm9lbGtlci5kZT6JATkEEwEC ACMFAlPirzMCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRBGUC73lpFxle5wCACC dbs0QaJ0vR3Sff2cKdTk41rUq3YfWngsR///IOU0C5DdkePmCnJE/lUsUy0LRTxcUDLxQR+x QHU8ssRT0JUO9726dI3miy36UdsgmBYaOtLvQcidGmW1R7o0PYYf04+TFtyqKgngOUBPpMgR 6o4UsQxy/OD4bN1WDqOgIjL+D/qJpkKmgp6L6+hhaBCpiOFKRmmV7YyQ3SqVlfQNiHs5ZtkR nXpIjgZARV+GllKucI17bO0CGmTJZ1tstVy0+W3DQT1lbBkTTc++5LONM99D3jjn23l1ocOp folR53F7I4cb2RNfT23v1I59RH37lB9wMOqrKj0UjYAC2YoPGQ3BuQENBFPirzMBCADXLWWp QihBldY6reca8ZKdc3T9qXEOa3akE3DWKztIBmNJhtYOjmpLYajQTkGa7UoJTnbmZE2Rn6ZE oNnvb0gcFNAIcY95KOI+bjOR8HEgh4cx2REXh6L6olIgyXqt/KFusE4wtVZAFxZl+30HzN6n D+1HvrjXxPJRX6MsIYOYyyX9/6OofwJK6QHODYGp8WL2olHDnmsXg4AT6Wlr7qKpKrQELlcF R4xkvdmgL/Ghw/tK0yJTxMIcewCCZWLPOXRmFRbvAadZWPAgVsJ63siNyUlVnVMSzDgTJl+s l/DMabXpqrJQx3/1Yy6mTaDs3XZT/wmBKaTLXx/LByaPxQQ7ABEBAAGJAR8EGAECAAkFAlPi rzMCGwwACgkQRlAu95aRcZWVPwgAqZT6iTXkoP37wYb41323RzhBcJ8JSk4cyBDBUXX0lMrM 3qhiClKG7phpxVdu817Gwc6Hsecg7FfjQAV8MHQ0ZFeEFdk3b2rKBqfsStc+h49/xF3Fb+if CzR9qeQF82fMSxkg18++7hMcHCMO/hPZ/Q0xRi+lrSr2QKDJQuLzSyVU14TxrCkevZjEhtma VNvcJlJzCbiBXee9Fpc5jITUXPFG8E8dxqo1n+duOyIMgozrAnzP7X5V/Ob/Ozf/aGGX9+Jd inyfCX18nWcHALKMU/36Eua/ylalf/2c2YkBp9KCLVmGgPkUgW52EeRPgroIsiwu+rwCSV6Z UyCJ+OymCg== Message-ID: <9263b782-4eb4-a141-fcad-5aabb5a3672b@bernhard-voelker.de> Date: Wed, 29 Jul 2020 00:41:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <989a48fb-a825-cf8f-eaef-fedacbc15281@draigBrady.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:2XIxQ/d2VsDNbIzFpkkd55fL+WRADNDCRjCoKwIG+RJ0qHrBOzx aXQRHgqmQig4HH+zGgCftCpXABiquBE8kJGR1bOLX32m/HB6LDBOYCpMBlUoV2wXSUW7m11 jtUAls/rz1atHPvk/I2EvcSyhJGUsJCCnXkmvpH3asjRxnAfUoM4xXvGy980IRSU85kNTE4 9EkR6Zo8ZvNOjcDUtizsQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:yw0Keh3Fyvs=:UO7NTmCHK04IQapoXWrYX+ 9t6bgWOwrVRjkFWfVwCkcw0eUlNzFmyCR1Fbv8jKKJzLUi7OptNK6KcwuZLu7tRTYWP3LhMxD iFzJKxCyBOFV5R50xkCcnpiDbcEt2JU7fsy5PUTLsTtjnsHdoFG6lfmweB/MuPi7OZI4pocHt 1TXHswP2bBQiYXOwR1FPgNjVnDhYop5fl8/SyVX4dm5QEJ6weC1oN8bdVmc4Vx1xx7F7mEOuW NRLfjoOINp6Ky9GPCaqIDiAX8QEZGn0T8LOluHAT/Kpm8ePRfOWxrkCFol9YJse+eR45yHGVP 36KcTDYFlowRcOpOY3J3tMQTBaeg7SUxjMpmlihqLJpPXGpcs+q5EYT4UI9hndVOBx9H2s46Q 394DtTYB9hyZLa7LyhD8tKhUsheutm0CSqq4CLDf6uxXLy1Cunjx0xbImiS30IWcRNbMDl0Qd ShBcOJ/EwZHXhPdQNy6tnEBj3RKTzxb2Br7ZovJ6ogMr0ZGe2gBMnPtDzsWX9WX3RqwI4Crwp NQGysVsr/0SnQHpuJSNnQrCJMhaMkxRmKDXMtxUU+GZbmzfUc+kje5x98jWfbWL/jSVRdbNp8 No/hZhI3vHnkUbXnkybuh4WPdHqYOw0j42Rqxss3ireBw+Ymncm8Ip1mojloJjDaqRIaZu2Kc L3GjZoYAFf4PscFKkg+kwBRn/kToAOoywB+BrMnrmp4GvvndOoMN068c64WpNnn2aystEr+yC TFzyV9Z3+spNaSF5Ip56XX04MZwEgGz7FSywfYC0T3SGqnfo5cU+d3R8uAbDnWAUkzFuRqw5e 7Mh1QgjzTr87pyM972metTWs7rF+DCOLXwBH8tteqRaow/7ltkfUkH9IiyJRXHIzFWpn+K9+j EuZ5nbTxSZk77VE97YtQ== X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) On 2020-07-28 23:53, Pádraig Brady wrote: > +1 thanks Thanks, pushed. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 29 08:19:28 2020 Received: (at 41634) by debbugs.gnu.org; 29 Jul 2020 12:19:28 +0000 Received: from localhost ([127.0.0.1]:60284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0l3P-0007IC-QO for submit@debbugs.gnu.org; Wed, 29 Jul 2020 08:19:27 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:34740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0l3L-0007Hv-I5 for 41634@debbugs.gnu.org; Wed, 29 Jul 2020 08:19:26 -0400 Received: by mail-wm1-f44.google.com with SMTP id g10so2044069wmc.1 for <41634@debbugs.gnu.org>; Wed, 29 Jul 2020 05:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rN0Wo5RCTPV/oy3MYSeDsMCag7oUGrYfvo8oj4M2540=; b=TOVKA4WSE3IPKwK9jnXGnl+Weeaj9O4metIjpDEMCRLTCLoPP+I7r7CJGotf2ufI5x froC5xwczVdJ2PrUSmxX/lREeDLu6hi/Xi6U31pI8/09h+SXvjICcvqP84voY63AEe0J hrn3YlnQ+LRDA9iay11po3HewsYRAyEn2C4Di7NX+sHxtOEu/OMnWk7xjFqyUuHRL0OL T7sUOQegeSZbv83zOn/y7gFxhAaYLEuwYeSaYfZi0sDO64cUY7r9G6WnP1Xm3MMpEcl5 hY1mBSOYUP5Ki1EBcmh0NE+SnuGDq6NHjIKSwkBw7AnL+y98dAaUlmZBPiaNMR19J9o0 X8GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rN0Wo5RCTPV/oy3MYSeDsMCag7oUGrYfvo8oj4M2540=; b=k+UoCg1uCHqrJiKjn9y7S9defoCt9XsGzRJ8ysGV4cjsyW3rodbdQu9MKXfYehtVBP eUIcdxGcaTToUdPXxr7JOtDPVY+li4DAet7LgaDqrjwkkjbquUsYGJM6t0FXC+YLRxGe 0oTWWLEGbjJ/Ii03IUWKPmyuf7PivpKHNs52GYT6Wb+yzYP1+GzQ2evxmmJXLIUM7Ta7 Rhtg1+dtaCcX7XpdWaSfObtGXgDgTNJ0vb1LcPYE3iG84EO8BxZkCenbduaeOP5ooEBG A0uJD88iTuBgYQ1yjuQRwH/Wco1jxjzlrK0/e5DJ0IEAqXkSxjVvV7ccSCj202XcQmum dzBg== X-Gm-Message-State: AOAM5319uzwnlK12TGpVKKFmXZmJPT/xingiFX37x0uGzUMJr2NlgQVX XX1577fUiarGeAiLvOwgkgWQ2N+MS9o= X-Google-Smtp-Source: ABdhPJxxiaHxQ6gAljipoGPCGySE8sXIxvuraa1/k5uJzP7xYPNLUXzn35vk64/lXYwgkLN5Umi4tg== X-Received: by 2002:a1c:68c5:: with SMTP id d188mr6485053wmc.40.1596025157287; Wed, 29 Jul 2020 05:19:17 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id v11sm5766557wrr.10.2020.07.29.05.19.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Jul 2020 05:19:16 -0700 (PDT) Subject: Re: bug#41634: 'timeout' returning 124 and 133 To: Bernhard Voelker , =?UTF-8?Q?P=c3=a1draig_Brady?= , Andreas Schwab References: <3aeb099f-fcf9-5889-1088-e6f9447f3ae4@jguk.org> <87blm3qntb.fsf@linux-m68k.org> <687c3dd7-8ccd-734b-0962-82401a188a09@jguk.org> <756ab433-eb40-03b4-f97e-c312002aa708@bernhard-voelker.de> <86c99f61-f86e-ee1d-2597-fcba3eef9cb4@jguk.org> <7c1486ab-fa4d-f6e4-8da8-c34c3d60c5e0@jguk.org> <71e5953d-8f97-eb3d-e401-6be51277fe28@bernhard-voelker.de> <989a48fb-a825-cf8f-eaef-fedacbc15281@draigBrady.com> <9263b782-4eb4-a141-fcad-5aabb5a3672b@bernhard-voelker.de> From: Jonny Grant Message-ID: <4e15e38c-cb82-0320-5cbc-07b568e5e9d6@jguk.org> Date: Wed, 29 Jul 2020 13:19:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <9263b782-4eb4-a141-fcad-5aabb5a3672b@bernhard-voelker.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: 41634 Cc: 41634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) On 28/07/2020 23:41, Bernhard Voelker wrote: > On 2020-07-28 23:53, Pádraig Brady wrote: >> +1 thanks > > Thanks, pushed. > Great! From unknown Tue Jun 17 01:48:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 27 Aug 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator