Description of problem: Instead of running firefox, sandbox gives an error message. Version-Release number of selected component (if applicable): $ rpm -q bash firefox policycoreutils policycoreutils-python policycoreutils-sandbox bash-4.2.10-5.fc16.x86_64 firefox-7.0.1-3.fc16.x86_64 policycoreutils-2.1.4-3.fc16.x86_64 policycoreutils-python-2.1.4-3.fc16.x86_64 policycoreutils-sandbox-2.1.4-3.fc16.x86_64 How reproducible: Consistently Steps to Reproduce: 1. /usr/bin/sandbox -X -t sandbox_web_t -W /usr/bin/metacity /usr/bin/firefox Actual results: Error: User shell is not valid Expected results: A window full of Firefox. Additional info: This is my first attempt to use sandbox in Fedora 16.
What does # echo $0
Something updated your system and screwed up your /etc/shells file. And removed /bin/bash from it. It is not our bug, but I have never figured out who does it.
It was recent bug in bash ... See #752827 ... however as the bash version in that duplicate bugzilla is the same as the one from your report, I'll keep it opened until Roman's review.
Thank you all. $ echo $0 bash $ cat /etc/shells /sbin/nologin /bin/dash In the referenced bug 752827, Roman Rakus wrote, "So probably people should upgrade twice :)" So I did "yum reinstall bash" and /etc/shells got better: $ cat /etc/shells /sbin/nologin /bin/dash /bin/bash /bin/sh
To clarify - bash having been reinstalled, sandbox no longer gives the error message that was the subject of this report. Resolved.
Ok, thanks for confirmation, as yum reinstall fixed the issue, marking this bugzilla as duplicate of #752827 *** This bug has been marked as a duplicate of bug 752827 ***