GNU bug report logs

#47935 coreutils: tests/tail-2/inotify-dir-recreate.sh fails on overlayfs

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#47935; Package guix. (Wed, 21 Apr 2021 15:37:03 GMT) (full text, mbox, link).


Acknowledgement sent to Carl Dong <contact@carldong.me>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Wed, 21 Apr 2021 15:37:03 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Carl Dong <contact@carldong.me>
To: bug-guix@gnu.org
Subject: coreutils: tests/tail-2/inotify-dir-recreate.sh fails on overlayfs
Date: Wed, 21 Apr 2021 11:35:50 -0400
Hi all,

I’m continuing my testing of the 1.3.0 branch, and I’ve 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/34a48bf0f0552aaed21a7dba4a5488946a978317/src/tail.c#L2486-L2491). Example for this: overlayfs used by docker/podman/etc.

The author of tail’s 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"





Information forwarded to bug-guix@gnu.org:
bug#47935; Package guix. (Thu, 22 Apr 2021 01:21:02 GMT) (full text, mbox, link).


Message #8 received at 47935@debbugs.gnu.org (full text, mbox, reply):

From: Carl Dong <contact@carldong.me>
To: 47935@debbugs.gnu.org
Subject: Re: bug#47935: coreutils: tests/tail-2/inotify-dir-recreate.sh fails on overlayfs
Date: Wed, 21 Apr 2021 21:20:25 -0400
Upstream bug filed: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47940




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Tue, 27 Apr 2021 07:54:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#47935; Package guix. (Thu, 03 Jun 2021 19:30:02 GMT) (full text, mbox, link).


Message #13 received at 47935@debbugs.gnu.org (full text, mbox, reply):

From: Ludovic Courtès <ludo@gnu.org>
To: Carl Dong <contact@carldong.me>
Cc: 47935@debbugs.gnu.org
Subject: Re: bug#47935: coreutils: tests/tail-2/inotify-dir-recreate.sh fails on overlayfs
Date: Thu, 03 Jun 2021 21:29:09 +0200
Hi Carl,

Carl Dong <contact@carldong.me> skribis:

> I’m continuing my testing of the 1.3.0 branch, and I’ve 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/34a48bf0f0552aaed21a7dba4a5488946a978317/src/tail.c#L2486-L2491). Example for this: overlayfs used by docker/podman/etc.
>
> The author of tail’s inotify support explains it here: https://github.com/containers/podman/issues/5493#issuecomment-598851397

[...]

> Upstream bug filed: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47940

With people more on more interested in finally getting ‘core-updates’
merged, now’s 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’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 8 03:18:04 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.