Hide Forgot
Description of problem: SELinux is preventing ruby from 'create' accesses on the netlink_connector_socket Unknown. ***** Plugin catchall (100. confidence) suggests ************************** If вы считаете, что ruby следует разрешить доступ create к Unknown netlink_connector_socket по умолчанию. Then рекомендуется создать отчет об ошибке. Чтобы разрешить доступ, можно создать локальный модуль политики. Do allow this access for now by executing: # ausearch -c 'ruby' --raw | audit2allow -M my-ruby # semodule -X 300 -i my-ruby.pp Additional Information: Source Context system_u:system_r:container_t:s0:c409,c446 Target Context system_u:system_r:container_t:s0:c409,c446 Target Objects Unknown [ netlink_connector_socket ] Source ruby Source Path ruby Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-224.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.10-300.fc25.x86_64 #1 SMP Mon Nov 21 18:59:16 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-12-01 22:36:57 +10 Last Seen 2016-12-01 22:36:57 +10 Local ID b23905e5-5053-4269-8552-607b94955157 Raw Audit Messages type=AVC msg=audit(1480595817.398:320): avc: denied { create } for pid=5992 comm="ruby" scontext=system_u:system_r:container_t:s0:c409,c446 tcontext=system_u:system_r:container_t:s0:c409,c446 tclass=netlink_connector_socket permissive=0 Hash: ruby,container_t,container_t,netlink_connector_socket,create Version-Release number of selected component: selinux-policy-3.13.1-224.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.10-300.fc25.x86_64 type: libreport
https://github.com/fedora-selinux/selinux-policy/pull/174
Created a pull request to allow containers access to all netlink sockets.
Dan, Thanks for PR.
selinux-policy-3.13.1-225.3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f24b3ddc6a
selinux-policy-3.13.1-225.3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f24b3ddc6a
selinux-policy-3.13.1-225.3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.