ports/135337: [PATCH] emulators/linux_base-f10: incorrect bash usage

Dmitry Marakasov amdmi3 at amdmi3.ru
Sun Jun 7 23:50:01 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list