| Summary: | /usr/bin/firefox script relies on non-posix syntax (bash) & fails if dash is the default shell | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dano <d.k> |
| Component: | firefox | Assignee: | Jan Horak <jhorak> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | gecko-bugs-nobody, jhorak |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-29 13:55:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Thanks for report, this will be fixed by next package update. |
Description of problem: /usr/bin/firefox script defines #!/bin/sh but will not work if the default system shell is dash. IMHO the script, if not rewritten to be purely POSIX compliant, should begin with "#! /bin/bash" line (because it expects BASH apparently). Version-Release number of selected component (if applicable): firefox-8.0-3.fc16.x86_64 How reproducible: change the default system shell to dash (or ksh) Steps to Reproduce: 1. ln -f -s /bin/dash /bin/sh 2. /usr/bin/firefox & Actual results: # /usr/bin/firefox [: 76: /usr/lib64: unexpected operator /usr/bin/firefox: 195: Syntax error: "(" unexpected (expecting "fi") Expected results: firefox should start Additional info: - verbose xtrace output: http://pastebin.com/eUYm3G25 - non-verbose xtrace output: http://pastebin.com/suG4K4cK