Description of problem: I tried out cockpit (sudo systemctl enable --now cockpit.socket; xdg-open http://localhost:9090) and notied the alert afterwards. SELinux is preventing cockpit-ssh from 'read' accesses on the file unix. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that cockpit-ssh should be allowed read access on the unix file 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 'cockpit-ssh' --raw | audit2allow -M my-cockpitssh # semodule -X 300 -i my-cockpitssh.pp Additional Information: Source Context system_u:system_r:cockpit_session_t:s0 Target Context system_u:object_r:proc_net_t:s0 Target Objects unix [ file ] Source cockpit-ssh Source Path cockpit-ssh Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.1-32.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.17.2-200.fc28.x86_64 #1 SMP Mon Jun 18 20:09:31 UTC 2018 x86_64 x86_64 Alert Count 1 First Seen 2018-06-30 10:53:53 CEST Last Seen 2018-06-30 10:53:53 CEST Local ID f466412c-a435-4fb2-b565-86b3e3fbf382 Raw Audit Messages type=AVC msg=audit(1530348833.569:44840): avc: denied { read } for pid=9708 comm="cockpit-ssh" name="unix" dev="proc" ino=4026532072 scontext=system_u:system_r:cockpit_session_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file permissive=0 Hash: cockpit-ssh,cockpit_session_t,proc_net_t,file,read Version-Release number of selected component: selinux-policy-3.14.1-32.fc28.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.17.2-200.fc28.x86_64 type: libreport
selinux-policy-3.14.1-36.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1050fb248b
selinux-policy-3.14.1-36.fc28 has been pushed to the Fedora 28 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-2018-1050fb248b
selinux-policy-3.14.1-36.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.