NetBSD Problem Report #34248

From  Mon Aug 21 07:56:10 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 57EE963B863
	for <>; Mon, 21 Aug 2006 07:56:10 +0000 (UTC)
Message-Id: <>
Date: Mon, 21 Aug 2006 14:31:02 +0900 (JST)
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 <>
>Release:        NetBSD 4.99.1


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

		cleandir distclean: cleanlibdir

			-rm -rf lib

	this "rm -rf" should be serialized with eg. cleandirkernlib target
	in libkern/  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.


NetBSD Home
NetBSD PR Database Search

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