NetBSD Problem Report #34248

From yamt@mwd.biglobe.ne.jp  Mon Aug 21 07:56:10 2006
Return-Path: <yamt@mwd.biglobe.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 57EE963B863
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 21 Aug 2006 07:56:10 +0000 (UTC)
Message-Id: <20060821053102.66BBF11705@yamt.dyndns.org>
Date: Mon, 21 Aug 2006 14:31:02 +0900 (JST)
From: yamt@mwd.biglobe.ne.jp
Reply-To: yamt@mwd.biglobe.ne.jp
To: gnats-bugs@NetBSD.org
Subject: "make -j4 cleandir" causes ESTALE on nfs
X-Send-Pr-Version: 3.95

>Number:         34248
>Category:       port-i386
>Synopsis:       "make -j4 cleandir" causes ESTALE on nfs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 21 08:00:00 +0000 2006
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 4.99.1
>Organization:

>Environment:


System: NetBSD spacekaeru 4.99.1
Architecture: i386
Machine: i386
>Description:
	src/sys/arch/i386/stand/boot/Makefile.boot has:

		cleandir distclean: cleanlibdir

		cleanlibdir:
			-rm -rf lib

	this "rm -rf" should be serialized with eg. cleandirkernlib target
	in libkern/Makefile.inc.  otherwise, with make -j, it can remove the
	directory and its contents while other instance of make is working
	under it.  in the case of nfs, it causes ESTALE.
>How-To-Repeat:
>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.