From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 30 13:30:19 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 873FA16A400 for ; Sun, 30 Apr 2006 13:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53B4A43D45 for ; Sun, 30 Apr 2006 13:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3UDUITK028991 for ; Sun, 30 Apr 2006 13:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3UDUICi028990; Sun, 30 Apr 2006 13:30:18 GMT (envelope-from gnats) Date: Sun, 30 Apr 2006 13:30:18 GMT Message-Id: <200604301330.k3UDUICi028990@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Peter B Cc: Subject: Re: kern/96438: Executeing a linux binary within jail causes reboot. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter B List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2006 13:30:19 -0000 The following reply was made to PR kern/96438; it has been noted by GNATS. From: Peter B To: maxim@macomnet.ru (Maxim Konovalov) Cc: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/96438: Executeing a linux binary within jail causes reboot. Date: Sun, 30 Apr 2006 15:27:38 +0200 (MEST) >> >Description: >> Launching a linux binary like tcsh as the initial command from >> jail(8) seem to cause system reboot. Second occurence is that in >> some circumstances _within_ jail(8) executeing linux binary cause >> the system to reboot in the same way. Because the machine in >> question is a remote. I have not watched console while this >> happends. > >Can't reproduce on my 6.0-STABLE box and todat HEAD: > >shy# uname -a >FreeBSD shy.macomnet.ru 6.0-STABLE FreeBSD 6.0-STABLE #0: Sun Jan 29 >11:21:40 MSK 2006 maxim@shy.macomnet.ru:/usr/obj/usr/src/sys/GENERIC i386 >shy# jail / test 127.0.0.1 /compat/linux/bin/bash >bash-2.05b# uname -a >Linux test 2.4.2 FreeBSD 6.0-STABLE #0: Sun Jan 29 11:21:40 MSK 2006 >i586 i586 i386 GNU/Linux >bash-2.05b# exit > >Could you verify that with the latest RELENG_6? I'll have to make a setup for that. Might take some days due other tasks. It might be that I setup the jail tree to not use compat. But rather have a complete linux system tree at jail root. Ie linux files in /bin/ not /compat/linux/bin/ That way when software like Xilinx tries to modify/access /usr/X11R6 files it get's the linux files it expect.