From unknown Sat Aug 16 14:31:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75682: ls -l sometimes shows a year in place of the hour and minute Resent-From: Kasia Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 20 Jan 2025 04:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75682 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 75682@debbugs.gnu.org X-Debbugs-Original-To: "bug-coreutils@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.173734858830249 (code B ref -1); Mon, 20 Jan 2025 04:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jan 2025 04:49:48 +0000 Received: from localhost ([127.0.0.1]:48632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZjjP-0007ro-8j for submit@debbugs.gnu.org; Sun, 19 Jan 2025 23:49:48 -0500 Received: from lists.gnu.org ([2001:470:142::17]:39912) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tZgAX-0004TT-5j for submit@debbugs.gnu.org; Sun, 19 Jan 2025 20:01:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tZgAR-0005Vq-7t for bug-coreutils@gnu.org; Sun, 19 Jan 2025 20:01:27 -0500 Received: from mail-40135.protonmail.ch ([185.70.40.135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tZgAO-0007ki-Rq for bug-coreutils@gnu.org; Sun, 19 Jan 2025 20:01:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1737334880; x=1737594080; bh=y8xVTJW+2+ukMFouiSypDR01MOqnpqpDkyeQxLMEt+k=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=J+FR3scvCOAjgjgo/36ThEtH4jEg/7Pq8bz9tlnR2xNcdjJT4kKa5Unu77smLR816 yS4ClTTQ+oBy38mfOVuDj5VActw6OUnMdzPrtcW8nAhpSt5Fw8Sc9p8xXVwSOK7Dsw aBx/SEFpHAcG4Q2nptHomKzjMMZZGZd4x6UY2davAf9AzfT1ymo+N1WJ17UK1SZLj0 eLziwwvZkOKf7YwTxQ69P4f2vBfCo52O/cPmtSvzp6Srd1HiOJcKXdLX7S4/J53F42 iTfTITo8Lqcq23HVpBwQpwfzfkRv3Pckl/JK27xepl4tI6IDs9/OpAx45+ZN29IAZT yo1FQ6iAXjQFg== Date: Mon, 20 Jan 2025 01:01:15 +0000 From: Kasia Message-ID: Feedback-ID: 111801867:user:proton X-Pm-Message-ID: 084f7e6712607772db35304d85a24073066be26d MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1=_rkeK7M8AttlHmrSH8aE5HlFwO7JgmSMoCXKYVD0OA" Received-SPF: pass client-ip=185.70.40.135; envelope-from=xo.okasia@proton.me; helo=mail-40135.protonmail.ch 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Sun, 19 Jan 2025 23:49:45 -0500 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.0 (/) --b1=_rkeK7M8AttlHmrSH8aE5HlFwO7JgmSMoCXKYVD0OA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello Coreutils maintainers, I believe I've found a bug in the coreutils' ls command. I was watching a file with watch and ls -l while it was being updated, but = sometimes I saw that the time would display a year instead of an hour and m= inute. Later I reproduced this issue by doing the following: - open a terminal emulator - create two tabs - run `touch test` - in tab 1, run either while (true); do { ls -l test; }; done; or while (true); do { ls -l test | grep -F 2025; }; done; - in tab 2, run while (true); do { head -c 1 Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 20 Jan 2025 05:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75682 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Kasia Cc: 75682@debbugs.gnu.org Received: via spool by 75682-submit@debbugs.gnu.org id=B75682.17373502747740 (code B ref 75682); Mon, 20 Jan 2025 05:18:01 +0000 Received: (at 75682) by debbugs.gnu.org; 20 Jan 2025 05:17:54 +0000 Received: from localhost ([127.0.0.1]:48671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tZkAb-00020l-NY for submit@debbugs.gnu.org; Mon, 20 Jan 2025 00:17:53 -0500 Received: from mail.cs.ucla.edu ([131.179.128.66]:35682) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tZkAY-00020W-Nc for 75682@debbugs.gnu.org; Mon, 20 Jan 2025 00:17:51 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 785043C00FAB3; Sun, 19 Jan 2025 21:17:44 -0800 (PST) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id YGr7PfKIVAN7; Sun, 19 Jan 2025 21:17:44 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 1109C3C03E9EA; Sun, 19 Jan 2025 21:17:44 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 1109C3C03E9EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1737350264; bh=gUuHf1Z2Rj5M12XnA4ak+p1tazmhIFa06x9Uj8q7Hpg=; h=Message-ID:Date:MIME-Version:To:From; b=Kfx8+lDZzMM+qg/i21qlIzHH+sE51G9GK9r7nLzJuqfrWm7R8h+0m6nrnohtAWeTm 8fZZVTNId0wL+1ThioH1QpEVNPTbu+984HInIvrGDL9TD6l3my6m3OQriX+MreOw7y IZs94CsU3I1TDsIgZpdJFXYGFqxFtRIjZXH4PkFETTQMyAof14c363puFTeWXlLwJh rUZKSnE5mMVkmwOEoapH2gw5dmrD0cAh1YlM+QEgEzhAY0CD1VTTcbGmBBFSUk5qJH PW82fGiBJCEXd6irIBT1as4T5NnKMh4nJuffKveHrNh0HNvqmuvdIT1XRP3Pz2JhND D7C1UaGcsY5jw== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id MCYRI9sT0YXq; Sun, 19 Jan 2025 21:17:43 -0800 (PST) Received: from [192.168.254.12] (unknown [47.154.28.214]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id E51E53C00FAB3; Sun, 19 Jan 2025 21:17:43 -0800 (PST) Message-ID: Date: Sun, 19 Jan 2025 21:17:43 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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 2025-01-19 17:01, Kasia via GNU coreutils Bug Reports wrote: > Do you know what might be causing this if it's my system instead of coreutils' ls? It means the file's timestamp is in the future. This can happen if your file system's clock is a bit ahead of your kernel's clock. This is not uncommon in network file systems. Of course this sort of thing can lead to problems with programs like 'make', which rely on file timestamps. You can think of 'ls' as the canary in your mineshaft. From unknown Sat Aug 16 14:31:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75682: ls -l sometimes shows a year in place of the hour and minute References: In-Reply-To: Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 23 Jan 2025 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75682 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Kasia Cc: 75682@debbugs.gnu.org Received: via spool by 75682-submit@debbugs.gnu.org id=B75682.173762678918348 (code B ref 75682); Thu, 23 Jan 2025 10:07:02 +0000 Received: (at 75682) by debbugs.gnu.org; 23 Jan 2025 10:06:29 +0000 Received: from localhost ([127.0.0.1]:39369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tau6X-0004ls-Fj for submit@debbugs.gnu.org; Thu, 23 Jan 2025 05:06:29 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.220]:33585) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tau6Q-0004lb-SE for 75682@debbugs.gnu.org; Thu, 23 Jan 2025 05:06:26 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1737626781; cv=none; d=strato.com; s=strato-dkim-0002; b=ZT5uV4Y0L2JmaGqQquukVL8FUmKRzzmUdBXYwdlrv87AsE9XpYRhE4SqEWHCCBZT0C /PIvvnXYDBzb/5LIEaudNrj0TfbwlHryttot/mocCq0nEvCWnVRlGxvh+c4VqHltYbAF xbVGKqje+3JC+ah0i4mN8Z1Ta4bj6789Zu2g7rr1gAmQMv9nRGKuwXAJbAcEYLq45nme aEJuXOPtdlVas1tgjsgoJ6PvR2Hb66ZUXHqXbAmPFQG/MF8ZtQSMigrjLwJW1rx65u95 oXMZoDnhDCHQJxIsIglvjf/T90/E/vm04isD5upqmRVQtf8ncaysTtApAp7NtipMvRz/ QNiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1737626781; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=5FXDbwIRAHO8VMFQRd4x2eYKRr5Pz5PEl/d7ViHAR54=; b=FSbHbraKmzz/fa8ftHkorwExoFHfM9HEqlU/8RLfq0apx9Pydk23HBGWSu0+T1uRf/ cwc4MhG2kyY0Esv2mK9a45RGD0yL+BYVV/8jaKGJCU8qD7uziZPJUjqbSxlcisRmMt0Q Mt6mcaR2tvTOYjN6qFFyCxBoANoHjy8qMfB2sjEAMEQ0EkY9dbySLS/TDA2DfMndsFov H4hE5J+GeljeCVP6bVkdFJIlfTGFL4lOjpL5/oHnF9y+3DKC+efcHcjSnv25iHY5gevQ nz/11+nkKxao0bfeXOzy988t7yAeK/5h9HPMLhQVO9+H5VkPDh1LbA9suwFunrFbd3AI SqVg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1737626781; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=5FXDbwIRAHO8VMFQRd4x2eYKRr5Pz5PEl/d7ViHAR54=; b=Pz6+Uu7jUxNJEuMg/YoZSGGPMe0vE1p0Gs5uvu9g/Z/rHqmgTWToZLOPeeemEsDb+v wBGW/YXL759qWpAeQgXUHplXBWnQzPDW1M/FGceu/cMG+3+tqm3KQyrCU59E5rWKyKQi ocZ88IjoqeFwpAUMzq46cpBXcq2BpBS+WonSc3i1a8HyLA25UUJBmdxOvFfIQpOFRlvO /iu+mOSrex/ObQMQq94IyjECa33/zgYJvQaxeHixkTcFe9nDvNSAgB76MEda9qGH5gdZ n6GS/p+KKg1pvIHSuocRMmu59x/NZBcS5qzfHpFaNtFz7CE1mOdZHD2BK6znzZeAA7r9 4C/g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1737626781; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=5FXDbwIRAHO8VMFQRd4x2eYKRr5Pz5PEl/d7ViHAR54=; b=kvz1EJ6Z9EtPK5lTpX1pDxEHX8dz04od1Zzc86pCKvSSXSKF2QPAAwxn0g5L3LUcCi ZJXdvENGY7KeJc0JmyBw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlLnY4jECd2hdUURIbZgL8PX2QiTuZ3cdB8X/nqm2aEmETWunvpscJE6zIsYJVSN/a" Received: from nimes.localnet by smtp.strato.de (RZmta 51.2.21 AUTH) with ESMTPSA id Nfb42e10NA6KLfv (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 23 Jan 2025 11:06:20 +0100 (CET) From: Bruno Haible Date: Thu, 23 Jan 2025 11:06:20 +0100 Message-ID: <39496044.7CIiGjFlj5@nimes> Organization: GNU MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Score: -0.7 (/) 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.7 (-) Please give more details: - What's the result of df -T . - What's your libc version? - What's the result of uname -sr - What's the result of ls --version I'm asking because three possible causes come to mind: - a network file system (mentioned by Paul Eggert), - the multi-grain time stamps introduced in Linux 6.13 [1], - a known glibc bug [2] that affects certain coreutils releases. Bruno [1] https://www.phoronix.com/news/Linux-6.13-Multigrain-Timestamp [2] https://sourceware.org/bugzilla/show_bug.cgi?id=30200 From unknown Sat Aug 16 14:31:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75682: ls -l sometimes shows a year in place of the hour and minute Resent-From: Kasia Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 16 Feb 2025 01:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75682 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: "75682@debbugs.gnu.org" <75682@debbugs.gnu.org> Received: via spool by 75682-submit@debbugs.gnu.org id=B75682.173967087030602 (code B ref 75682); Sun, 16 Feb 2025 01:55:02 +0000 Received: (at 75682) by debbugs.gnu.org; 16 Feb 2025 01:54:30 +0000 Received: from localhost ([127.0.0.1]:59177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjTrZ-0007xW-PL for submit@debbugs.gnu.org; Sat, 15 Feb 2025 20:54:30 -0500 Received: from mail-106104.protonmail.ch ([79.135.106.104]:34701) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjTrU-0007x8-2J for 75682@debbugs.gnu.org; Sat, 15 Feb 2025 20:54:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1739670856; x=1739930056; bh=jCWJynFtuXin3GtMWWEwneGORBZQEDdzxpra92MRrG8=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=E/yKVBRElnMjmmBY2Rh/V2/4qD+X/tf39+HGDUsPxNyZwtlYPgWNjAUacAAf/7/kN 34S/nQqIIQzK+JW4mhmd/EwfScQVZoQ+9xqGS04qdY98yiHwxslh4wb57kE3UcQpHH pdWe6V2QPme+8HJE6O6yFps0yXLQHz257qzJYYFqHqp5M+VwXb1Tj37XVrzUxna4q2 aYGDgNWEVxCwi97ZtAcPZKZrebm/bWOh2zVY9kXSyb8WRChkxdTDOGKSosw0nYqXUc 0ihHK/xWe94TKT4aY6KgBQ1FKKi4LwDLQQlX/mK5DnS/1CzrJfjMCB+VyxFMixz76L BPVNOA3Fcdk+w== Date: Sun, 16 Feb 2025 01:54:14 +0000 From: Kasia Message-ID: In-Reply-To: References: <39496044.7CIiGjFlj5@nimes> Feedback-ID: 111801867:user:proton X-Pm-Message-ID: e673ae9f84e177d3335ad76e5129b28960584d99 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 > df -T . I was running it under /dev/shm to use a tmpfs. > - What's your libc version? 2.36 > uname -sr "Linux 6.1.0-29-amd64" > ls --version "ls (GNU coreutils) 9.1" I'm definitely not using any network file systems. I don't think I'm running kernel 6.13 or later yet? The sourceware bugzilla page you linked says, "on glibc 2.30 and older, the= time syscall is used if present (which always uses the coarse timer)" Which does fit what we're seeing here. I'm also seeing this be more likely = to trigger on slower machines than my faster machines. I thought that this was a GNU coreutils bug because the same test using `bu= sybox ls -l` was always giving the hour and time. -----BEGIN PGP SIGNATURE----- Version: ProtonMail wrsEARYKAG0FgmexRTYJkJB2+lKi7Z06RRQAAAAAABwAIHNhbHRAbm90YXRp b25zLm9wZW5wZ3Bqcy5vcmfbSPue5FYrgOEI+41LCfMgbv4WjJBXtpA71Erm U9yODhYhBOhSZ7P0U35Z9WJN9ZB2+lKi7Z06AAAX6AEA8xcsO7v7d0g0PkPS 7QjlRqIpIYmuVFl5gLYP4Z89KbYA/jA1UBEsLEkJYGQZCuX5CnYKMO7aT+6v zqCrMVFy5tUI =3DDQFV -----END PGP SIGNATURE----- From unknown Sat Aug 16 14:31:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75682: ls -l sometimes shows a year in place of the hour and minute Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 16 Feb 2025 05:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75682 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Kasia Cc: 75682@debbugs.gnu.org Received: via spool by 75682-submit@debbugs.gnu.org id=B75682.173968526020637 (code B ref 75682); Sun, 16 Feb 2025 05:55:02 +0000 Received: (at 75682) by debbugs.gnu.org; 16 Feb 2025 05:54:20 +0000 Received: from localhost ([127.0.0.1]:59506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjXbg-0005Mn-4z for submit@debbugs.gnu.org; Sun, 16 Feb 2025 00:54:20 -0500 Received: from mail.cs.ucla.edu ([131.179.128.66]:55156) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjXba-0005MP-GJ for 75682@debbugs.gnu.org; Sun, 16 Feb 2025 00:54:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id C384E3C00E41C; Sat, 15 Feb 2025 21:54:07 -0800 (PST) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id 3uufBsVsx6ct; Sat, 15 Feb 2025 21:54:07 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 588E73C00D401; Sat, 15 Feb 2025 21:54:07 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 588E73C00D401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1739685247; bh=/t+ekRJmdx4lDXzRMD49zx1PMnJ+6QUruIrEoDlmFV0=; h=Message-ID:Date:MIME-Version:To:From; b=OFkG/TAJiGeF9j8LIf1NMl3KqkZ2ubdviCclbu/7PYH7jSR8/OHALp62es33ROnU8 1k4QLb5PQuZS/IZcDMM3uK0DntZJ8N94lngVyyGqcEACbkpagLAisq7Z5eHaX4ef/y KOwNVipCdRiwQnMiRqTGaHNSVBE9SZjAQgvBatFF53inB7n5F6drS9NHISX7DjG/r8 05qCEUZ9QkFsiUjnoqgTLsmx2mC5PCzcG6D4LW/CpyVMMy+nkRaAjmvVLcLSutmPcD OSiZl1UmlRbM9PLXWkKqekeAzvpdT4S9rxLME3+EMQdl8Ky1tLlOYHxokVHIP+PgVS m+hbNKvm9W9FQ== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id 3Nc7kDDov1sV; Sat, 15 Feb 2025 21:54:07 -0800 (PST) Received: from [192.168.254.12] (unknown [47.147.225.25]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 2C9AD3C00E41C; Sat, 15 Feb 2025 21:54:07 -0800 (PST) Message-ID: <364191eb-b7d5-4e67-91f4-967686b8199b@cs.ucla.edu> Date: Sat, 15 Feb 2025 21:54:06 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <39496044.7CIiGjFlj5@nimes> Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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 2025-02-15 17:54, Kasia via GNU coreutils Bug Reports wrote: > "Linux 6.1.0-29-amd64" So this cannot be the multigrain timestamps in Linux 6.13, released January 20 and so new that even I'm not running it yet. > I thought that this was a GNU coreutils bug because the same test using `busybox ls -l` was always giving the hour and time. This is because busybox ls, contrary to POSIX, acts as though files that are in fact dated up to 15 minutes in the future were last modified in the past. You can verify the busybox bug as follows: $ date Sat Feb 15 21:45:10 PST 2025 $ touch -d'now + 14 minutes' futurefile $ ls -l futurefile -rw-rw-r-- 1 eggert eggert 0 Feb 15 2025 futurefile $ busybox ls -l futurefile -rw-rw-r-- 1 eggert eggert 0 Feb 15 21:59 futurefile $ date Sat Feb 15 21:45:34 PST 2025 Here the busybox behavior is clearly wrong. (Maybe file a bug report to the busybox people?) > "ls (GNU coreutils) 9.1" So this is quite likely the bug in Linux+glibc that Bruno mentioned, where the clock appears to jump backwards by up to 10 ms[1]. Although recent versions of coreutils have a workaround, coreutils 9.1 lacks the workaround. Please try upgrading to coreutils 9.6 to fix the 'ls' issue, and be aware that other programs may still misbehave on your system since the actual bug is below the coreutils level. [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=30200