| Summary: | Please revert the oracledb_port_t type to oracle_port_t | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Pazdziora <jpazdziora> |
| Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dwalsh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.9.16-35.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-02 02:04:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Pazdziora
2011-07-20 07:17:22 UTC
Ok, the same issue which we had with Fedora14. We added this fix to spec file %define loadpolicy() \ ( cd /usr/share/selinux/%1; \ semodule -r oracle-port -b base.pp.bz2 -i %2 -s %1 2>&1 | grep -v "oracle-port"; \ ); \ (In reply to comment #2) > We added this fix to spec file > > %define loadpolicy() \ > ( cd /usr/share/selinux/%1; \ > semodule -r oracle-port -b base.pp.bz2 -i %2 -s %1 2>&1 | grep -v > "oracle-port"; \ > ); \ Actually, this is probably not needed for Fedora 15 and rawhide at all -- there should be no oracle-port module loaded on those OSes. It was an upgrade thing on Fedora 14 and RHEL 6 (I believe). For Fedora 14 and higher, we now assume the base policy defines the type. We would just need the type to be oracle_port_t. Ok, then the fix is -network_port(oracledb, tcp, 1521,s0,udp, 1521,s0, tcp,2483,s0,udp,2483,s0, tcp,2484,s0, udp,2484,s0) +network_port(oracle, tcp, 1521,s0,udp, 1521,s0, tcp,2483,s0,udp,2483,s0, tcp,2484,s0, udp,2484,s0) (In reply to comment #4) > Ok, then the fix is > > -network_port(oracledb, tcp, 1521,s0,udp, 1521,s0, tcp,2483,s0,udp,2483,s0, > tcp,2484,s0, udp,2484,s0) > +network_port(oracle, tcp, 1521,s0,udp, 1521,s0, tcp,2483,s0,udp,2483,s0, > tcp,2484,s0, udp,2484,s0) Yes Sir. Thank you. Fixed in selinux-policy-3.9.16-35.fc15 selinux-policy-3.9.16-35.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-35.fc15 (In reply to comment #7) > selinux-policy-3.9.16-35.fc15 has been submitted as an update for Fedora 15. > https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-35.fc15 Works just fine, thank you. Can you apply the same change to rawhide? Applied. Just building a new release. Package selinux-policy-3.9.16-35.fc15: * should fix your issue, * was pushed to the Fedora 15 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.9.16-35.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-35.fc15 then log in and leave karma (feedback). selinux-policy-3.9.16-35.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |