From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 21 11:36:03 2021 Received: (at submit) by debbugs.gnu.org; 21 Apr 2021 15:36:03 +0000 Received: from localhost ([127.0.0.1]:59514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZEtT-0004kn-N6 for submit@debbugs.gnu.org; Wed, 21 Apr 2021 11:36:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:57620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZEtQ-0004kd-VA for submit@debbugs.gnu.org; Wed, 21 Apr 2021 11:35:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZEtQ-00053p-Lh for bug-guix@gnu.org; Wed, 21 Apr 2021 11:35:56 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:52779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZEtO-0002vi-Ej for bug-guix@gnu.org; Wed, 21 Apr 2021 11:35:56 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 9D794282E for ; Wed, 21 Apr 2021 11:35:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 21 Apr 2021 11:35:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; s=fm3; bh=HLEpB/XuKGlJBRaXl7QKfip26g0RByj8c 8qL9X7wXYk=; b=WRzkN+0WJ9rTDNrB2ONIWqd23dc5DpkG+0Bt3aH70vv8QjCBh XoLFgdgZRe7w6WMHoEEg8HWeYHBNw77t8cynTUCbSc/Mgwcce58IQhKV4eVbbnXS EpTxHedpVRYu4lNuUr0ADLCVEtkvVqCUVW8jYdZo5KQNreFjvySbWqpvGsd4lpEc 3icrvx7UmK2SNRCUiT+8AZr70iH5Xw6+4HFkkR8ZbLQk+ArGrhDAMk4cek+Oa6lA kFJe3cE6R7VekUQ+yTyRBaKP9dobbqdzYNkTSJ+whtphB3jd906LMzHe3ZaPnulh G7Tm11t5YFIO4iUuB2ijYSGmoRw3iPqxJT2zA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=HLEpB/ XuKGlJBRaXl7QKfip26g0RByj8c8qL9X7wXYk=; b=GyretfON5vVo2uG2DTsu5t Co4OBBlydhlAFNkUqo4d8SGdyxkPgw3dOEpd4M3/SImLZQIdM6DNylN81xRzMNuB UdeyDUJGXyN2a4PLt8z+f7uh697j7m9kfZ4Pdu4JXcEpvnBzqoi2hcXsa29PkOCN t0F0FcGpd3dXdx8eHgHKsbF3oi7QHjoWfPLW8LqA2Fy9jSNtQcJ2AJ/WrKL1JdhI fuBNkQYw1zjmp49S0smvtodRBG0DdqurAvJBxg0kowEJccprL5D8rlN37wPjPCDw jKduAcSITl+mg61gOGu84r5wJrebuBjRCuxdEKx39558S9xBSRK4GYLu3J3dOqJA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtkedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtdejnecuhfhrohhmpeevrghrlhcuffhonhhguceotghonhhtrggtthestggrrhhlugho nhhgrdhmvgeqnecuggftrfgrthhtvghrnheptdehfeetfeetffeuvdehudejhedtfeekgf ejuefgtefhkeektdfgffdtgfdvuddunecuffhomhgrihhnpehgihhthhhusgdrtghomhen ucfkphepleeirddvfeelrddujedrvdegvdenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtghtsegtrghrlhguohhnghdrmhgv X-ME-Proxy: Received: from [192.168.0.6] (pool-96-239-17-242.nycmny.fios.verizon.net [96.239.17.242]) by mail.messagingengine.com (Postfix) with ESMTPA id E0D7C1080057 for ; Wed, 21 Apr 2021 11:35:51 -0400 (EDT) From: Carl Dong Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: coreutils: tests/tail-2/inotify-dir-recreate.sh fails on overlayfs Message-Id: Date: Wed, 21 Apr 2021 11:35:50 -0400 To: bug-guix@gnu.org X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=64.147.123.20; envelope-from=contact@carldong.me; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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.6 (-) 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: -2.6 (--) Hi all, I=E2=80=99m continuing my testing of the 1.3.0 branch, and I=E2=80=99ve = found that coreutil's tests/tail-2/inotify-dir-recreate.sh fails on = filesystems where tail detects that it cannot use inotify safely = (probably arising out of this check: = https://github.com/coreutils/coreutils/blob/34a48bf0f0552aaed21a7dba4a5488= 946a978317/src/tail.c#L2486-L2491). Example for this: overlayfs used by = docker/podman/etc. The author of tail=E2=80=99s inotify support explains it here: = https://github.com/containers/podman/issues/5493#issuecomment-598851397 A quick and easy fix for v1.3.0 may be to just disable = tests/tail-2/inotify-dir-recreate.sh :-) Cheers, Carl Dong contact@carldong.me "I fight for the users" From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 21 21:20:35 2021 Received: (at 47935) by debbugs.gnu.org; 22 Apr 2021 01:20:35 +0000 Received: from localhost ([127.0.0.1]:60131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZO1C-0006lj-V4 for submit@debbugs.gnu.org; Wed, 21 Apr 2021 21:20:35 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZO19-0006lQ-As for 47935@debbugs.gnu.org; Wed, 21 Apr 2021 21:20:33 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 057C25C0180 for <47935@debbugs.gnu.org>; Wed, 21 Apr 2021 21:20:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 21 Apr 2021 21:20:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; h= from:content-type:content-transfer-encoding:mime-version:subject :date:references:to:in-reply-to:message-id; s=fm3; bh=WFeZtXaW/G 6VsmD1qC0LRPzWhCCJ1VJktQloFsl0MO4=; b=IO9+e1yCnlq8z2wNu5lB0iKuZx FuXCkYtqI2b6XdLcHsr6HJ+X4b64rVkCqrsQOu6FdVP1L2/QzXwePsoROf92T7AR yP6UK5iSCi/qAnAtpD5z4y4KO2pU8J6Nees3tQrpKbQ/iyh3v8APJhIc3cpLrvU/ c0SQPXLbg5xm0qukrIGKWZZLLMhXX9XeZkK72LoANjuPcbYWeDVeetJ2AJfU9hj5 rK7PRe9hIY4FeVX7VZLF5OS+zOxRicyFYMFcZVVSciMuyefhmfZyIJ0P0zwFV/xS +XCtV+onii/jfIYHH/IIVgFfx2PzRbOukneiQmhYLA2A7Y+tQBfTkoRdZ/ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=WFeZtXaW/G6VsmD1qC0LRPzWhCCJ1VJktQloFsl0M O4=; b=aK6vfrwKv/koQTN0ndwq+8BVY4/4aFi9feyxVAqaZQvwk8hVMdo6dJiIN 513mameA2ALbTkFc936Uvz0nJhnG6LTXcU0tCHj0c0W+cpD46tj5t2aYaIZqd5jF jnyx3/KTyLZhl+7q4mJtZxFJvpBs25A4GMGkXhznr9Ee+aLHXtA4ewYN6hKwo+Zx m8lEkl7W30lBe4ZWIsN1SiHLL52+4I8knhqqbKPOLBZ4VwRtzr6S781cYTrQYKb5 RRDmtpYVIlOrdnfp4OJ6h16O+QgYHzSKe2UCG47P7kkdnRRgkIiNRpFZ7tdcmXSp Xn2OK4xeRmmL01Tl/h0EHYnX8S3Yw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtledggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgotedvkeehqddtjeculdegledmnecujfgurhephf gtgfgguffffhfvjgfkofesthejmhdthhdtvdenucfhrhhomhepvegrrhhlucffohhnghcu oegtohhnthgrtghtsegtrghrlhguohhnghdrmhgvqeenucggtffrrghtthgvrhhnpeeugf evkeegiedvkeeifeejvdfhleekffeiieevheejfffgheeuhfekleevheekieenucffohhm rghinhepghhnuhdrohhrghenucfkphepleeirddvfeelrddujedrvdegvdenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtghtsegt rghrlhguohhnghdrmhgv X-ME-Proxy: Received: from [192.168.0.6] (pool-96-239-17-242.nycmny.fios.verizon.net [96.239.17.242]) by mail.messagingengine.com (Postfix) with ESMTPA id 6D5BD24005B for <47935@debbugs.gnu.org>; Wed, 21 Apr 2021 21:20:25 -0400 (EDT) From: Carl Dong Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: bug#47935: coreutils: tests/tail-2/inotify-dir-recreate.sh fails on overlayfs Date: Wed, 21 Apr 2021 21:20:25 -0400 References: To: 47935@debbugs.gnu.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47935 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 (-) Upstream bug filed: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47940 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 03:53:57 2021 Received: (at control) by debbugs.gnu.org; 27 Apr 2021 07:53:57 +0000 Received: from localhost ([127.0.0.1]:47975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbIXd-0005kr-HW for submit@debbugs.gnu.org; Tue, 27 Apr 2021 03:53:57 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:46607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbIXb-0005ka-6b for control@debbugs.gnu.org; Tue, 27 Apr 2021 03:53:55 -0400 IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AH92KYq8IT3+x2LTGpV1uk+FBdb1zdoIgy1kn?= =?us-ascii?q?xilNYDRPeM2ZiMyi2NwHvCWE/go5cncmhNyGJe28Wnva75F4+s08Or2lUQngtg?= =?us-ascii?q?KTXeRfxKHlxCDtHDC7y/5F2c5bAspDIfDTLXw/osb+/QWieuxA/PCr+L2l7N2/?= =?us-ascii?q?815BQQRrdK164wo8NwDzKCJLbSVcHpwjDt6g4KN81kCdUFsNaMDTPAh9Y8Hnp8?= =?us-ascii?q?fX0Lr8ax8HGBJP0nj4sRqM6KTmVzmV2w52aUI+/Z4G8XLZ1yz1j5/Tws2T7x/H?= =?us-ascii?q?yiv08ZNbg7Lau69+LemNkNVQEzP3l2+TFfFccpiDpi1wmv2l8lwwkNLByi1QTP?= =?us-ascii?q?hbznPKYyWIpgHw0BPryzYk5xbZuC2lqF/uu9bwSj5/K8cpv/M7TjLh8EYrsNxx?= =?us-ascii?q?16hGtljpyusqMTr6kC7w58fFWnhR/yLezEYKq+IVgnBFOLFuF4N5l5AV/09eDf?= =?us-ascii?q?47bUTHwb0gedMea/301bJyd1WCBkqpxlVH8ZiLRXQ8HhCPRww+vKWuvwR+rTRB?= =?us-ascii?q?1Esf38wDjh47hfYAYqgB3ejdLqhunr0mdL5sUYtNQNgAWtesTlbGSRXKPG/6Gz?= =?us-ascii?q?6IKIg3f3XK75bt6rQ0++3CQu138KcP?= X-IronPort-AV: E=Sophos;i="5.82,254,1613430000"; d="scan'208";a="379770414" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Apr 2021 09:53:48 +0200 Date: Tue, 27 Apr 2021 09:53:48 +0200 Message-Id: <87czug6u43.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #47935 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control 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: -2.3 (--) severity 47935 important quit From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 03 15:29:23 2021 Received: (at 47935) by debbugs.gnu.org; 3 Jun 2021 19:29:23 +0000 Received: from localhost ([127.0.0.1]:44683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lot1v-0000x2-4x for submit@debbugs.gnu.org; Thu, 03 Jun 2021 15:29:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lot1s-0000wo-Ss for 47935@debbugs.gnu.org; Thu, 03 Jun 2021 15:29:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36850) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lot1n-00044o-In; Thu, 03 Jun 2021 15:29:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35730 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lot1j-0000Ng-IZ; Thu, 03 Jun 2021 15:29:15 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Carl Dong Subject: Re: bug#47935: coreutils: tests/tail-2/inotify-dir-recreate.sh fails on overlayfs References: Date: Thu, 03 Jun 2021 21:29:09 +0200 In-Reply-To: (Carl Dong's message of "Wed, 21 Apr 2021 11:35:50 -0400") Message-ID: <87y2bqu4qi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47935 Cc: 47935@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: -3.3 (---) Hi Carl, Carl Dong skribis: > I=E2=80=99m continuing my testing of the 1.3.0 branch, and I=E2=80=99ve f= ound that coreutil's tests/tail-2/inotify-dir-recreate.sh fails on filesyst= ems where tail detects that it cannot use inotify safely (probably arising = out of this check: https://github.com/coreutils/coreutils/blob/34a48bf0f055= 2aaed21a7dba4a5488946a978317/src/tail.c#L2486-L2491). Example for this: ove= rlayfs used by docker/podman/etc. > > The author of tail=E2=80=99s inotify support explains it here: https://gi= thub.com/containers/podman/issues/5493#issuecomment-598851397 [...] > Upstream bug filed: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47940 With people more on more interested in finally getting =E2=80=98core-update= s=E2=80=99 merged, now=E2=80=99s a good time to look into this bug. :-) In the bug report upstream, you hint at a possible fix. Could you provide a patch for this? Alternatively, if that turns out to be too tricky, can you think of a workaround, such as skipping the offending code during tests? Thanks, Ludo=E2=80=99.