From owner-freebsd-current Sun Jan 4 22:56:13 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA09696 for current-outgoing; Sun, 4 Jan 1998 22:56:13 -0800 (PST) (envelope-from owner-freebsd-current) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA09689 for ; Sun, 4 Jan 1998 22:56:03 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA04112; Mon, 5 Jan 1998 17:52:01 +1100 Date: Mon, 5 Jan 1998 17:52:01 +1100 From: Bruce Evans Message-Id: <199801050652.RAA04112@godzilla.zeta.org.au> To: fcurrent@jraynard.demon.co.uk, freebsd-current@FreeBSD.ORG Subject: Re: make -j install fix Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Having investigated this a little more, I think the following is >better than the diff I posted a few days ago (there seems to be >a window where /bin/sh isn't there and execv() returns ENOENT - >also one second seems a little short to sleep). Comments? Changing make seems too special. Try using install -C in src/bin/sh. This should install /bin/sh atomically. There may be related problems for installing shared libraries. I use install -C to install everything, without worrying much about concurrently running processes, but a missing shared library or ld.so is sometimes noticed. -C is the default for ld.so, but not for shared libraries. Bruce