Bug 436784 - System will not boot in MLS/Enforcing
Summary: System will not boot in MLS/Enforcing
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-mls
Version: rawhide
Hardware: noarch
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-10 14:15 UTC by Joe Nall
Modified: 2008-03-11 21:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-11 21:33:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to launch bash with correct type. (526 bytes, patch)
2008-03-10 14:16 UTC, Joe Nall
no flags Details | Diff

Description Joe Nall 2008-03-10 14:15:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.15.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.15

Description of problem:
upstart is launching bash and shell scripts in the wrong type. Patch attached.

Version-Release number of selected component (if applicable):
selinux-policy-mls-3.3.1-12

How reproducible:
Always


Steps to Reproduce:
Boot in MLS/Enforcing

Actual Results:


Expected Results:


Additional info:

Comment 1 Joe Nall 2008-03-10 14:16:00 UTC
Created attachment 297438 [details]
Patch to launch bash with correct type.

Comment 2 Daniel Walsh 2008-03-10 20:08:49 UTC
Joe, Chris has vetoed this change,  I think we should leave the context in
init_t and then handle the avc's caused by this.

Comment 3 Joe Nall 2008-03-11 15:31:03 UTC
Do you want me to generate a new patch based on the init_upstart tunable work Chris did?

Comment 4 Joe Nall 2008-03-11 15:33:37 UTC
Chris added corecmd_shell_domtrans(init_t,initrc_t) to the policy but I needed corecmd_shell_entry_type(initrc_t) also to get things to work (see original patch).



Comment 5 Daniel Walsh 2008-03-11 21:33:36 UTC
Fixed in selinux-policy-3.3.1-14.fc9

Comment 6 Daniel Walsh 2008-03-11 21:33:57 UTC
Added your patch that is.


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