Bug 754667 (sandbox_bash) - sandbox: Error: User shell is not valid
Summary: sandbox: Error: User shell is not valid
Keywords:
Status: CLOSED NOTABUG
Alias: sandbox_bash
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-17 09:41 UTC by Amit Shah
Modified: 2011-11-17 14:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-17 14:37:19 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.