GNU bug report logs - #16189
FAIL: tests/du/bind-mount-dir-cycle --- patch attached

Previous Next

Package: coreutils;

Reported by: Andrew Warshall <warshall <at> 99main.com>

Date: Thu, 19 Dec 2013 01:20:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Andrew Warshall <warshall <at> 99main.com>
Cc: 16189 <at> debbugs.gnu.org, bug-gnulib <bug-gnulib <at> gnu.org>, Terry Bowling <tbowling <at> redhat.com>, jwk <at> redhat.com
Subject: bug#16189: FAIL: tests/du/bind-mount-dir-cycle --- patch attached
Date: Thu, 19 Dec 2013 02:35:15 +0000
[Message part 1 (text/plain, inline)]
On 12/19/2013 01:43 AM, Andrew Warshall wrote:
> Hi-
> 
>    I'm resending this since it didn't seem to go through the first
>    time; also, I think I have a solution.
> 
>    This test fails on my system (Linux 3.7.10 kernel, glibc-2.17);
>    apparently "du a" is giving as output :
> 
> du: WARNING: Circular directory structure.
> This almost certainly means that you have a corrupted file system.
> NOTIFY YOUR SYSTEM MANAGER.
> The following directory is part of the cycle:
>   'a/b'
> 
>    instead of the expected
> 
> du: mount point 'a/b' already traversed
> 
>    Apparently, ./configure is assuming I don't have hasmntopt(), which
>    has become an issue because lib/mountlist.c now protects hasmntopt()
>    with #defines
> 
>    I've attached a patch, but I don't have autoconf; so someone who
>    does should test it before committing it.

CC'ing gnulib as that's where this check originates.
Also CC'ing interested parties from this related thread from today:
http://lists.gnu.org/archive/html/coreutils/2013-12/msg00143.html

Thanks for the analysis and patch!

Pádraig.
[coreutils-8.22-hasmntopt.patch (text/x-patch, attachment)]

This bug report was last modified 11 years and 48 days ago.

Previous Next


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