Bug 433236 - userdom_restricted_xwindows_user_template issue
userdom_restricted_xwindows_user_template issue
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-17 17:42 EST by Dominick Grift
Modified: 2008-02-18 11:56 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-18 11:56:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dominick Grift 2008-02-17 17:42:36 EST
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 11:56:07 EST
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.