| Summary: | SELinux is preventing gpg2 from 'write' accesses on the sock_file S.gpg-agent. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Frieben <jfrieben> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 24 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:5128404a75cd28d2b6a52afc315e4028142164b60dfc6c68337d6a681b89f5b2;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-targeted-3.13.1-176.fc24 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-16 10:21:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase Issue still occurs upon a fresh network install (about a dozen of alerts triggered by gpg2). *** This bug has been marked as a duplicate of bug 1316717 *** |
Description of problem: SELinux is preventing gpg2 from 'write' accesses on the sock_file S.gpg-agent. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gpg2 should be allowed write access on the S.gpg-agent 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: # grep gpg2 /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:fwupd_t:s0-s0:c0.c1023 Target Context system_u:object_r:admin_home_t:s0 Target Objects S.gpg-agent [ sock_file ] Source gpg2 Source Path gpg2 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-168.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.5.0-0.rc2.git0.1.fc24.x86_64 #1 SMP Mon Feb 1 20:04:59 UTC 2016 x86_64 x86_64 Alert Count 22 First Seen 2016-02-02 16:25:24 CET Last Seen 2016-02-02 17:31:29 CET Local ID d1ae9c8b-62da-417c-b004-bb3067859a58 Raw Audit Messages type=AVC msg=audit(1454430689.281:4559): avc: denied { write } for pid=29950 comm="gpg-agent" name="S.gpg-agent" dev="dm-0" ino=661770 scontext=system_u:system_r:fwupd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=sock_file permissive=1 Hash: gpg2,fwupd_t,admin_home_t,sock_file,write Version-Release number of selected component: selinux-policy-3.13.1-168.fc24.noarch Additional info: reporter: libreport-2.6.3 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc2.git0.1.fc24.x86_64 type: libreport