Skip site navigation (1)Skip section navigation (2)
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:   ports/135337: [PATCH] emulators/linux_base-f10: incorrect bash usage
Message-ID:  <20090607234458.A1831108840@hades.panopticon>
Resent-Message-ID: <200906072350.n57No16R061273@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135337
>Category:       ports
>Synopsis:       [PATCH] emulators/linux_base-f10: incorrect bash usage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 07 23:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090607234458.A1831108840>