Date: Mon, 8 Jun 2009 03:44:58 +0400 (MSD) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@freebsd.org Cc: emulation@FreeBSD.org Subject: [PATCH] emulators/linux_base-f10: incorrect bash usage Message-ID: <20090607234458.A1831108840@hades.panopticon>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090607234458.A1831108840>
