From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 6 17:00:25 2012 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CBB3106566C for ; Wed, 6 Jun 2012 17:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 879028FC17 for ; Wed, 6 Jun 2012 17:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q56H0Phg069886 for ; Wed, 6 Jun 2012 17:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q56H0P8C069883; Wed, 6 Jun 2012 17:00:25 GMT (envelope-from gnats) Date: Wed, 6 Jun 2012 17:00:25 GMT Message-Id: <201206061700.q56H0P8C069883@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Chris Rees Cc: Subject: Re: ports/148097: [patch] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Rees List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2012 17:00:25 -0000 The following reply was made to PR ports/148097; it has been noted by GNATS. From: Chris Rees To: bug-followup@freebsd.org Cc: Subject: Re: ports/148097: [patch] Date: Wed, 6 Jun 2012 17:49:57 +0100 This IRC transcript from Freenode/##FreeBSD might be relevant. frag4: no, I am root under normal system frag4: The behaviour of the script is different when startet during boot. Don't forget to add linuxtest_enable="YES" to /etc/rc.conf fleximus: I'm unable to reproduce your problem. yes but you need to call like /compat/linux/bin/bash first er somethin? fleximus: please do procstat -f $$ in very same shell you run /bin/sh /usr/local/etc/rc.d/startscript frag4: It's the default /bin/csh for root from command line. The systems reboots at the moment, give you the other result in a second frag4: During boot it is /bin/sh. Anyway, if I call /bin/sh /usr/local/etc/rc.d/startscript it works fine frag4: The latter will also display /bin/sh. fleximus: well, I'm running 9.0 here and cannot reproduce this. Eithery way, I'm going home now, some good luck with debugging. :) fleximus: s/some/so/ frag4: This is also 9.0, but I must leave soon, too ;-( frag4: Thank you for your ideas oh, that might be the solution, I will test now: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=kern/159646 and this one: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/148097 PR148097 is the workaround for me! Now I can go home. bye bye frag4: =)