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

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Jun 8 00:12:49 UTC 2009


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


More information about the freebsd-emulation mailing list