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.