Bug 770936 - Missing package dependency.
Summary: Missing package dependency.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: policycoreutils
Version: 6.2
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-30 10:57 UTC by Jan Kratochvil
Modified: 2011-12-31 13:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-31 13:23:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Kratochvil 2011-12-30 10:57:26 UTC
Description of problem:
$subj

Version-Release number of selected component (if applicable):
policycoreutils-python-2.0.83-19.18.el6.x86_64

How reproducible:
Tried once.

Steps to Reproduce:
yum install /usr/bin/sandbox
sandbox -X -t sandbox_web_t ./stack

Actual results:
/usr/bin/sandbox: 
/usr/sbin/seunshare is required for the action you want to perform.

Expected results:
No error message.

Additional info:
One has to do also:
yum install /usr/sbin/seunshare

Comment 2 Milos Malik 2011-12-31 10:05:03 UTC
/usr/bin/sandbox (provided by policycoreutils-python package) requires /usr/sbin/seunshare (provided by policycoreutils-sandbox package). Unfortunately policycoreutils-python package does not require policycoreutils-sandbox package.

Comment 3 Daniel Walsh 2011-12-31 13:17:42 UTC
This is a tricky problem, since sandbox can be run as root and not require seunshare, I decided to leave it in the -python package, the sandbox package requires X which I don't want in this situation.   I think if you execute sandbox -X it will tell you to install the other package, I guess we could make sandbox -M also watch for this. 

I am open to suggestions on a better way to handle this, perhaps have the tool check for certain files and modify its options and have the policycoreutils-sandbox overwrite the sandbox man page with additional options.

Comment 4 Jan Kratochvil 2011-12-31 13:23:44 UTC
OK, thanks, I see it is more complicated.
I just thought it is some simple common forgotten package dependency.
Feel free to do whatever with this Bug.


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