Bug 754667 (sandbox_bash)

Summary: sandbox: Error: User shell is not valid
Product: [Fedora] Fedora Reporter: Amit Shah <amit.shah>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: amit.shah, dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-17 14:37:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amit Shah 2011-11-17 09:41:11 UTC
Description of problem:

After a recent update of a few packages, I get this:

$ sandbox -X -W metacity -t sandbox_web_t -H ~/.sandbox_ff_home firefox
Error: User shell is not valid

The same happens w/o -H and -W options.

The list of selinux-related packages upgraded recently (via the updates repo):

selinux-policy-targeted-3.10.0-55.fc16.noarch
setroubleshoot-3.0.41-1.fc16.x86_64
policycoreutils-sandbox-2.1.4-6.fc16.x86_64
setroubleshoot-server-3.0.41-1.fc16.x86_64
selinux-policy-3.10.0-55.fc16.noarch
policycoreutils-python-2.1.4-6.fc16.x86_64
policycoreutils-2.1.4-6.fc16.x86_64

Comment 1 Daniel Walsh 2011-11-17 14:37:19 UTC
This is a bug in the bash update.

yum reinstall bash

Should fix.  

The update for some reason removed /bin/bash from /etc/shells.