From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 8 00:12:49 2009 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85E201065677 for ; Mon, 8 Jun 2009 00:12:49 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4623D8FC1B for ; Mon, 8 Jun 2009 00:12:49 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MDS2y-0002Wy-Qe; Mon, 08 Jun 2009 03:45:04 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id AC748B861; Mon, 8 Jun 2009 03:44:58 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id A1831108840; Mon, 8 Jun 2009 03:44:58 +0400 (MSD) To: FreeBSD-gnats-submit@freebsd.org From: Dmitry Marakasov X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20090607234458.A1831108840@hades.panopticon> Date: Mon, 8 Jun 2009 03:44:58 +0400 (MSD) Cc: emulation@FreeBSD.org Subject: [PATCH] emulators/linux_base-f10: incorrect bash usage X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 00:12:49 -0000 >Submitter-Id: current-users >Originator: Dmitry Marakasov >Organization: >Confidential: no >Synopsis: [PATCH] emulators/linux_base-f10: incorrect bash usage >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 8.0-CURRENT i386 >Environment: System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 1 22:13:51 MSD >Description: Linux-base install bunch of scripts with #!/bin/bash shebang. That is obviously wrong. Port maintainer (emulation@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: run /usr/compat/linux/usr/bin/ldd >Fix: Either: - shebang should be changed to ${LINUXBASE}/bin/bash (but that won't work in chroot) - the port should depend on native bash - shebang should be changed to #!/bin/sh if there are no compatibility problems