Bug 874394
| Summary: | SELinux is preventing svnserve from 'accept' accesses on the tcp_socket . | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Griffiths <fedora.jrg01> | ||||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 17 | CC: | dominick.grift, dwalsh, mgrepl, mmalik | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | abrt_hash:177c981b532aac53ec877036184e0a1a5578b0c27e9a57e2cbc42961e97a9f38 | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-12-20 16:25:39 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 640563 [details]
File: type
Created attachment 640564 [details]
File: hashmarkername
Added to elinux-policy-3.10.0-160.fc17 selinux-policy-3.10.0-161.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-161.fc17 Package selinux-policy-3.10.0-161.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-161.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18787/selinux-policy-3.10.0-161.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-161.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Tried to start svnserve using systemctl start svnserver.service. Additional info: libreport version: 2.0.18 kernel: 3.6.5-1.fc17.i686.PAE description: :SELinux is preventing svnserve from 'accept' accesses on the tcp_socket . : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that svnserve should be allowed accept access on the tcp_socket by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep svnserve /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:svnserve_t:s0 :Target Context system_u:system_r:svnserve_t:s0 :Target Objects [ tcp_socket ] :Source svnserve :Source Path svnserve :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-156.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.5-1.fc17.i686.PAE #1 SMP Wed : Oct 31 20:15:29 UTC 2012 i686 i686 :Alert Count 1 :First Seen 2012-11-08 00:00:36 EST :Last Seen 2012-11-08 00:00:36 EST :Local ID b343eb67-cef1-4b1c-ae3a-1c9f9982195c : :Raw Audit Messages :type=AVC msg=audit(1352350836.397:242): avc: denied { accept } for pid=30743 comm="svnserve" lport=3690 scontext=system_u:system_r:svnserve_t:s0 tcontext=system_u:system_r:svnserve_t:s0 tclass=tcp_socket : : :Hash: svnserve,svnserve_t,svnserve_t,tcp_socket,accept : :audit2allow : :#============= svnserve_t ============== :allow svnserve_t self:tcp_socket accept; : :audit2allow -R : :#============= svnserve_t ============== :allow svnserve_t self:tcp_socket accept; :