Bug 980631 - add redis port to the policy
Summary: add redis port to the policy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-02 21:30 UTC by Michael S.
Modified: 2013-07-07 01:34 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.12.1-59.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-07 01:34:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to add 1 port for redis (611 bytes, patch)
2013-07-02 21:30 UTC, Michael S.
no flags Details | Diff

Description Michael S. 2013-07-02 21:30:04 UTC
Created attachment 767984 [details]
patch to add 1 port for redis

Redis by default run as initrc on latest fedora. I am trying to write a policy for it, but it try to listen to port 6379 on tcp, and this is not listed in the policy.

I found out that the cleanest way to declare it is the attached patch ( alternative is a ugly cut and paste in my policy, and I would like to avoid. If we could have the macros from corenetwork.m4 usable from any policy, that would be great, maybe we can and I just didn't found how )

Comment 1 Miroslav Grepl 2013-07-03 11:39:46 UTC
Adding the patch. Thank you for policy writing again.

Comment 2 Fedora Update System 2013-07-03 19:51:01 UTC
selinux-policy-3.12.1-59.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-59.fc19

Comment 3 Fedora Update System 2013-07-05 02:14:46 UTC
Package selinux-policy-3.12.1-59.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-59.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-12373/selinux-policy-3.12.1-59.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-07-07 01:34:00 UTC
selinux-policy-3.12.1-59.fc19 has been pushed to the Fedora 19 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.