Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264683 - net-firewall/shorewall-common-4.0.15 fails to start: "/bin/sh: bad interpreter"
Summary: net-firewall/shorewall-common-4.0.15 fails to start: "/bin/sh: bad interpreter"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-02 19:28 UTC by Florian Philipp
Modified: 2009-04-03 14:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Philipp 2009-04-02 19:28:43 UTC
Trying to start shorewall always fails with the error message below, no matter whether with shorewall-perl or shorewall-shell.

So far, I've only tried the stable version of these packages (4.0.15). The configuration is rather normal and small, I don't think the problem is connected to anything in there.

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/shorewall start

Actual Results:  
"/sbin/shorewall: /var/lib/shorewall/.start: /bin/sh: bad interpreter: Keine Berechtigung"
("Keine Berechtigung" == Permission denied)
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-04-02 19:38:35 UTC
This is not the kind of bug Security handles. Reassigning to maintainer.
Comment 2 Pierre-Yves Rofes (RETIRED) gentoo-dev 2009-04-02 19:41:49 UTC
Not a security issue, reassigning to netmon and cc'ing maintainer.
btw, please read https://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity before changing severity.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-04-03 10:21:14 UTC
Thank you for report, Florian. Please show us the output of

ls -la /bin/sh
Comment 4 Florian Philipp 2009-04-03 10:25:40 UTC
ls -la /bin/sh /bin/bash

-rwxr-xr-x 1 root root 804888  7. Jan 12:27 /bin/bash
lrwxrwxrwx 1 root root      4  7. Jan 12:28 /bin/sh -> bash
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2009-04-03 12:12:55 UTC
Are there any chances that you've mounted some partition with noexec option (may be /var)? It's very common reason for such error.
Comment 6 Florian Philipp 2009-04-03 14:12:47 UTC
You were right. Parts of /var were mounted noexec
Thanks for your time and sorry for the noise.