Bug 667279 - asterisk cannot connect to festival port
Summary: asterisk cannot connect to festival port
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 13
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-05 02:56 UTC by Ian Pilcher
Modified: 2011-03-17 18:49 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.7.19-89.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-17 18:49:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ian Pilcher 2011-01-05 02:56:39 UTC
Description of problem:
Trying to set up asterisk-festival.  Asterisk needs to be able to connect to the festival server on port 1314 (TCP), but is blocked by SELinux.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.7.19-76.fc13.noarch

How reproducible:
100%

Steps to Reproduce:
1. yum install festival asterisk-festival
2. Start festival server: festival --server
3. Attempt to invoke festival from Asterisk dialplan.
  
Actual results:
type=AVC msg=audit(1294192345.547:479): avc:  denied  { name_connect } for  pid=2875 comm="asterisk" dest=1314 scontext=unconfined_u:system_r:asterisk_t:s0 tcontext=system_u:object_r:festival_port_t:s0 tclass=tcp_socket

Expected results:
Connection should be allowed, possibly controlled by boolean.

Additional info:

Comment 1 Daniel Walsh 2011-01-05 19:01:20 UTC
Miroslav, I think we should allow this by default.

Comment 2 Miroslav Grepl 2011-01-25 15:56:07 UTC
Fixed in selinux-policy-3.7.19-87.fc13

Comment 3 Ian Pilcher 2011-01-25 16:07:55 UTC
(In reply to comment #2)
> Fixed in selinux-policy-3.7.19-87.fc13

Do you want me to create separate bugs for Fedora 14 and Rawhide?

Comment 4 Miroslav Grepl 2011-01-25 16:12:11 UTC
I added a fix also to F14/Rawhide.

Comment 5 Fedora Update System 2011-02-04 10:31:34 UTC
selinux-policy-3.7.19-89.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-89.fc13

Comment 6 Fedora Update System 2011-02-04 19:48:42 UTC
selinux-policy-3.7.19-89.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-89.fc13

Comment 7 Fedora Update System 2011-03-17 18:48:21 UTC
selinux-policy-3.7.19-89.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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