Bug 1528189
| Summary: | SELinux is preventing systemd from 'create' accesses on the tcp_socket port None. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Villy Kruse <ppywlkiqletw> |
| Component: | selinux-policy | Assignee: | Colin Walters <walters> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f680596475fced633dedd2c4c4709c05c4f100a4edae2ebdc4859736d157eae2; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-05 13:54:02 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: | |||
*** This bug has been marked as a duplicate of bug 1366968 *** |
Description of problem: # systemctl start saned.socket Job for saned.socket failed. See "systemctl status saned.socket" and "journalctl -xe" for details. # SELinux is preventing systemd from 'create' accesses on the tcp_socket port None. The socket is port 6566 as used by "saned.socket" ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd should be allowed create access on the port None 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: # ausearch -c 'systemd' --raw | audit2allow -M my-systemd # semodule -X 300 -i my-systemd.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:system_r:unconfined_service_t:s0 Target Objects port None [ tcp_socket ] Source systemd Source Path systemd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.18.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.14.6-300.fc27.i686+PAE #1 SMP Thu Dec 14 16:01:19 UTC 2017 i686 i686 Alert Count 1 First Seen 2017-12-21 09:53:40 CET Last Seen 2017-12-21 09:53:40 CET Local ID 64b41501-d775-47af-978c-576a000ca276 Raw Audit Messages type=AVC msg=audit(1513846420.911:242): avc: denied { create } for pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=tcp_socket permissive=0 Hash: systemd,init_t,unconfined_service_t,tcp_socket,create Version-Release number of selected component: selinux-policy-3.13.1-283.18.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.14.6-300.fc27.i686+PAE type: libreport Potential duplicate: bug 1483635