GNU bug report logs - #51482
dd with status=progress does not update its output when the main writing is finished

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: Sworddragon <sworddragon2@HIDDEN>; dated Fri, 29 Oct 2021 14:23:01 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Oct 2021 14:22:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 29 10:22:22 2021
Received: from localhost ([127.0.0.1]:55522 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mgSlx-0005AQ-Sg
	for submit <at> debbugs.gnu.org; Fri, 29 Oct 2021 10:22:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:45838)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sworddragon2@HIDDEN>) id 1mgSls-0005AE-O8
 for submit <at> debbugs.gnu.org; Fri, 29 Oct 2021 10:22:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43158)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sworddragon2@HIDDEN>)
 id 1mgSls-0005Cf-GR
 for bug-coreutils@HIDDEN; Fri, 29 Oct 2021 10:22:16 -0400
Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]:43671)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <sworddragon2@HIDDEN>)
 id 1mgSlp-000349-CR
 for bug-coreutils@HIDDEN; Fri, 29 Oct 2021 10:22:16 -0400
Received: by mail-yb1-xb2b.google.com with SMTP id a129so11503891yba.10
 for <bug-coreutils@HIDDEN>; Fri, 29 Oct 2021 07:22:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=2RMdIWmvXvaS2f39GU6yC9QN3rEa3CqHUkNpfI8sfL4=;
 b=XCYbjWLZo7PSW3/a9BhsCe/0OvTmLOndeG1q09ujVto7yYCD90LJb32faSDeEtwTSR
 EIasPLfhSOglOwrnkrKdcEBDRnncZDvSEutG8iCyeV1FrrLarG4RnDfurBb4wK9D749i
 QtO02LSgd5r+lG+6UDFvuNLfAPcdP/OmkcPM6dCRPpGH4J1T+TUAlbGcBmvhD8SIpSDd
 i+KnVmEKfHTLpW4jo/q5NwlL5iv2ASQhXi6LFfRjSgcL1Dxma6/kvC8oUlw3HOBE8p3U
 FoVPNeAqpCBZx/lv/YD3IsDjU24eWqEHRhoF5Njai8SJwuFZyhBIDyJ5ATW0I1iE7fBR
 TqMQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=2RMdIWmvXvaS2f39GU6yC9QN3rEa3CqHUkNpfI8sfL4=;
 b=4zyp9t3GG5Fz2JL7/wLC/4Gvts/G4XFZ4H2edyuhCqJ3K2XRWmWQJIclVtSAm786P9
 wkgMP57dbrV7EiQX0y9a+y5uwD6j0KSSsHdvApyE6JpCv2xIvbrA92btvF58PoD3K59P
 LVu5liGRKvzbz7dfzbBGpDXKpr6mWolOLuA6iFv8t7GlMHZV9a8SCwFkSTsQ3u/9lpXJ
 xAMCqOMgHyGWlFxMpPuEIajEyj7QrOgnAzNMbIpXxTGfzELyADWjUv9wbpMWyjP9CLk8
 lkwkJ6mNrdrI9Vq3xH7jvO3muE7T3HuGY+nC7G0gtuPFeK8X2ir7vGazicsv+elAqijW
 eCfQ==
X-Gm-Message-State: AOAM533/EMNSfUGrzhT0jN+sjpLojAVeUxw+ZYW68WsfZGpUp7eZUPY1
 cKU3BtPj/UUtykEFv/NjKmADY5VSEqbOZZc/e7FM9nWtpgs=
X-Google-Smtp-Source: ABdhPJy+oe+DTuGhV9uzRIeAwVvJMElY3wq8gc+8CzpJ7Hrle9yxj6VSFJoCJP/uXFweRASDmOER9zxsRKg3uMri1ls=
X-Received: by 2002:a05:6902:728:: with SMTP id
 l8mr13470192ybt.441.1635517331519; 
 Fri, 29 Oct 2021 07:22:11 -0700 (PDT)
MIME-Version: 1.0
From: Sworddragon <sworddragon2@HIDDEN>
Date: Fri, 29 Oct 2021 14:22:02 +0000
Message-ID: <CAPg=dnyTcFB1kr62cFoZkPaK9P0GprF7W+99BOTzxNRR+6tB0Q@HIDDEN>
Subject: dd with status=progress does not update its output when the main
 writing is finished
To: bug-coreutils@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000091bcf405cf7e8d56"
Received-SPF: pass client-ip=2607:f8b0:4864:20::b2b;
 envelope-from=sworddragon2@HIDDEN; helo=mail-yb1-xb2b.google.com
X-Spam_score_int: 1
X-Spam_score: 0.1
X-Spam_bar: /
X-Spam_report: (0.1 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

--00000000000091bcf405cf7e8d56
Content-Type: text/plain; charset="UTF-8"

Originally found as additional minor bug in ticket #51345 (Knoppix 9.1 with
GNU Coreutils 8.32), I think it is a good idea to create a dedicated report
for it to avoid getting it lost.

When dd is being used with status=progress it appears to update the status
every second but does not do a final update when dd finished its main
writing task (e.g. when dd starts flushing via conv=fsync and it still
blocks for like over a minute) causing the output to be incorrect and
inconsistent across multiple tries.

--00000000000091bcf405cf7e8d56
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Originally found as additional minor bug in ticket #5=
1345 (Knoppix 9.1 with GNU Coreutils 8.32), I think it is a good idea to cr=
eate a dedicated report for it to avoid getting it lost.</div><div><br></di=
v><div>When dd is being used with status=3Dprogress it appears to update th=
e status every second but does not do a final update when dd finished its m=
ain writing task (e.g. when dd starts flushing via conv=3Dfsync and it stil=
l blocks for like over a minute) causing the output to be incorrect and inc=
onsistent across multiple tries.</div></div>

--00000000000091bcf405cf7e8d56--




Acknowledgement sent to Sworddragon <sworddragon2@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#51482; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 29 Oct 2021 14:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.