From owner-freebsd-stable@FreeBSD.ORG Sat Aug 20 09:28: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 71D5116A41F for ; Sat, 20 Aug 2005 09:28:38 +0000 (GMT) (envelope-from lonewolf-freebsd@earthmagic.org) Received: from ppp162-248.static.internode.on.net (ppp162-248.static.internode.on.net [150.101.162.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2DA843D48 for ; Sat, 20 Aug 2005 09:28:37 +0000 (GMT) (envelope-from lonewolf-freebsd@earthmagic.org) Received: from earthmagic.org (bob.zone2.earthmagic.org [192.168.2.6]) by ppp162-248.static.internode.on.net (Postfix-MSA) with ESMTP id 853539217 for ; Sat, 20 Aug 2005 19:28:35 +1000 (EST) Message-ID: <4306F7CA.9030402@earthmagic.org> Date: Sat, 20 Aug 2005 19:28:42 +1000 From: Johny Mattsson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: MNT_NOEXEC flag set on / when PXE booting diskless on 5.4-R? 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: Sat, 20 Aug 2005 09:28:38 -0000 Hi all, I've just been trying to switch one of my FreeBSD work stations over to PXE booting and running diskless (the system drive has died). However, I've run into a problem in that it appears that the root mount gets marked with MNT_NOEXEC for some reason, which causes ld-elf.so.1 to barf with a message of: Cannot execute objects on / The error doesn't occur for all applications, and I've narrowed it down to be that whenever LD_LIBRARY_PATH is set, then ld-elf.so.1 falls over with the above message. I saw in the archives that this issue was raised back in March, but there was no followup there. Message ID for that email was <20050331111625.GA13338@zoopee.org>; interested parties are recommended to dig that one up. Does anyone have a solution to this problem? I couldn't find any PRs (open or closed). Thanks in advance, /Johny -- Johny Mattsson - Making IT work ,-. ,-. ,-. When all else fails, http://www.earthmagic.org _.' `-' `-' Murphy's Law still works!