Bug 1661720
| Summary: | SELinux is preventing gssproxy from 'unlink' accesses on the sock_file /var/lib/gssproxy/default.sock. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, lvrabec, mgrepl, plautrba, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:62c80522429616976dca4898c0894b10c562934d84b7957381726a414c76666e;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-08 16:50:05 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 1661719 *** |
Description of problem: SELinux is preventing gssproxy from 'unlink' accesses on the sock_file /var/lib/gssproxy/default.sock. ***** Plugin catchall_labels (83.8 confidence) suggests ******************* If you want to allow gssproxy to have unlink access on the default.sock sock_file Then you need to change the label on /var/lib/gssproxy/default.sock Do # semanage fcontext -a -t FILE_TYPE '/var/lib/gssproxy/default.sock' where FILE_TYPE is one of the following: gssproxy_var_lib_t, gssproxy_var_run_t, systemd_passwd_var_run_t. Then execute: restorecon -v '/var/lib/gssproxy/default.sock' ***** Plugin catchall (17.1 confidence) suggests ************************** If you believe that gssproxy should be allowed unlink access on the default.sock sock_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 'gssproxy' --raw | audit2allow -M my-gssproxy # semodule -X 300 -i my-gssproxy.pp Additional Information: Source Context system_u:system_r:gssproxy_t:s0 Target Context system_u:object_r:unlabeled_t:s0 Target Objects /var/lib/gssproxy/default.sock [ sock_file ] Source gssproxy Source Path gssproxy Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-15.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.20.0-0.rc7.git1.1.fc30.x86_64 #1 SMP Tue Dec 18 22:52:01 UTC 2018 x86_64 x86_64 Alert Count 1 First Seen 2018-12-22 22:39:10 +05 Last Seen 2018-12-22 22:39:10 +05 Local ID 54f4c969-c216-44d2-a742-fb1e0262046b Raw Audit Messages type=AVC msg=audit(1545500350.685:95): avc: denied { unlink } for pid=1051 comm="gssproxy" name="default.sock" dev="nvme0n1p2" ino=2883645 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=sock_file permissive=0 Hash: gssproxy,gssproxy_t,unlabeled_t,sock_file,unlink Version-Release number of selected component: selinux-policy-3.14.3-15.fc30.noarch Additional info: component: selinux-policy reporter: libreport-2.9.7 hashmarkername: setroubleshoot kernel: 4.20.0-0.rc7.git1.1.fc30.x86_64 type: libreport