| Summary: | SELinux is preventing gpg2 from 'open' accesses on the file /root/.gnupg/gpg.conf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> |
| Component: | fwupd | Assignee: | Richard Hughes <rhughes> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, rhughes, vonbrand |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:0d26d4fd8f8262488bbe0d16c237a16b6dac3ab29ce0e0d85ac8badd3a2a3b6b; | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-01 15:14:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 1303531 | ||
| Bug Blocks: | |||
*** This bug has been marked as a duplicate of bug 1310979 *** |
Description of problem: SELinux is preventing gpg2 from 'open' accesses on the file /root/.gnupg/gpg.conf. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gpg2 should be allowed open access on the gpg.conf 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:gpg_secret_t:s0 Target Objects /root/.gnupg/gpg.conf [ file ] Source gpg2 Source Path gpg2 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-171.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.4.0-1.fc24.x86_64 #1 SMP Mon Jan 11 16:48:24 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-02-23 06:03:19 CET Last Seen 2016-02-23 06:03:19 CET Local ID 2d0878d1-81cf-44ca-920a-07bd85024d15 Raw Audit Messages type=AVC msg=audit(1456203799.114:656): avc: denied { open } for pid=17596 comm="gpg2" path="/root/.gnupg/gpg.conf" dev="dm-1" ino=1312681 scontext=system_u:system_r:fwupd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:gpg_secret_t:s0 tclass=file permissive=1 Hash: gpg2,fwupd_t,gpg_secret_t,file,open Version-Release number of selected component: selinux-policy-3.13.1-171.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.0-1.fc24.x86_64 type: libreport