From owner-freebsd-stable@FreeBSD.ORG Fri Dec 16 13:16:38 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEB5716A41F for ; Fri, 16 Dec 2005 13:16:38 +0000 (GMT) (envelope-from paulo@nlink.com.br) Received: from smtp.nlink.com.br (smtp.nlink.com.br [201.12.59.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 4769943D8B for ; Fri, 16 Dec 2005 13:16:28 +0000 (GMT) (envelope-from paulo@nlink.com.br) Received: (qmail 3786 invoked from network); 16 Dec 2005 13:16:26 -0000 Received: from unknown (HELO ?201.12.59.126?) (paulo@intra.nlink.com.br@201.12.59.126) by smtp.nlink.com.br with SMTP; 16 Dec 2005 13:16:26 -0000 Message-ID: <43A2BE24.8090905@nlink.com.br> Date: Fri, 16 Dec 2005 10:16:20 -0300 From: Paulo Fragoso User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050724) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paulo Fragoso References: <43A29E8F.8030101@nlink.com.br> In-Reply-To: <43A29E8F.8030101@nlink.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Diskless /libexec/ld-elf.so.1: Cannot execute objects on / X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 13:16:38 -0000 Paulo Fragoso wrote: > Hi, > > After upgrade from FreeBSD 5.3 to FREEBSD_5_4 (cvs), our diskless > machines didn't work correctly, many applications using dynamic > libraries didn't start, this error was showed: > > /libexec/ld-elf.so.1: Cannot execute objects on / > > We found on all diskless machines had MNT_NOEXEC flags set on (fstatfs). > After that we have changed rtld.c changed: > Ops, all remote mount points defined with read-only on server has MNT_NOEXEC flag seted on the clients (diskless), is there a bug with fstatfs function? server: /usr/X11R6 -ro -network A.B.C.D -mask 255.255.255.0 client: A.B.C.S:/usr/X11R6 /usr/X11R6 nfs ro,tcp,nfsv3,-w=32768,-r=32768 0 0 On the cliente NFS the /usr/X11R6 has MNT_NOEXEC seted! Paulo Fragoso.