Bug 433236 - userdom_restricted_xwindows_user_template issue
Summary: userdom_restricted_xwindows_user_template issue
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-17 22:42 UTC by Dominick Grift
Modified: 2008-02-18 16:56 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-18 16:56:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dominick Grift 2008-02-17 22:42:36 UTC
Description of problem:
The userdom_restricted_xwindows_user_template interface causes a few avc denials:

type=AVC msg=audit(1203280924.958:18): avc:  denied  { name_connect } for 
pid=2787 comm="pactl" dest=4713 scontext=myuserdomain:basic_r:basic_t:s0
tcontext=system_u:object_r:port_t:s0 tclass=tcp_socket

type=AVC msg=audit(1203280687.036:1080): avc:  denied  { name_connect } for 
pid=12579 comm="mixer_applet2" dest=4713
scontext=myuserdomain:basic_r:basic_t:s0 tcontext=system_u:object_r:port_t:s0
tclass=tcp_socket

i think tcp:4713 should may be a soundd_port_t type port in either case i would
not expect it to be type port_t

Version-Release number of selected component (if applicable):
selinux-policy 3.2.7-6

Comment 1 Daniel Walsh 2008-02-18 16:56:07 UTC
You would need special policy for pactl or add this allow rule for basic_t.

It would be better if you defined a port for 4713 and then allowed basic_t to
connect to it.

userdom_restricted_xwindows_user_template

Is designed to not allow any network connectivity.  If you want to build a user
type off of this and add a network, you will need to build the policy for it.



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