Bug 469852

Summary: Update selinux policy for cyphesis
Product: [Fedora] Fedora Reporter: Alexey Torkhov <atorkhov>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-04 14:03:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 469251    

Description Alexey Torkhov 2008-11-04 13:48:02 UTC
Description of problem:
Cyphesis policy should be updated with policy equivalence of following commands:
1. semanage port -a -t cyphesis_port_t -p tcp 6780
2. semanage fcontext -a -t cyphesis_log_t '/var/log/cyphesis(/.*)?'
semanage fcontext -a -t cyphesis_var_run_t '/var/run/cyphesis(/.*)?'

Rationale:
1. With new release of cyphesis it is now binds to port 6780.
Actually, it binds to first free port from range 6780-6799. But, probably, adding only one to policy will be sufficient.

2. And last two if being recreated or restorecon'ed will lost their file context, so it should be preserved.

Comment 1 Daniel Walsh 2008-11-04 14:03:23 UTC
Fixed in selinux-policy-3.5.13-14.fc10