Bug 1653090
Summary: | SELinux is preventing certwatch from 'write' accesses on the directory /var/tmp. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sidney Sedlak <dev> |
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: | 29 | CC: | dwalsh, garrett.mitchener, gnu699, lvrabec, mgrepl, owlbrudder, plautrba |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:643f82c2368a8dfe0bc4ae1079ec07353655c5a91b67ad8aa586e6840735826c;VARIANT_ID=workstation; | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-12 14:34:36 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: |
Description
Sidney Sedlak
2018-11-25 16:34:26 UTC
I'm getting a similar error for /tmp. ls -ldZ /tmp yields drwxrwxrwt. 25 root root system_u:object_r:tmp_t:s0 560 Nov 29 14:26 /tmp/ SELinux is preventing certwatch from write access on the directory /tmp. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that certwatch should be allowed write access on the tmp directory 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 'certwatch' --raw | audit2allow -M my-certwatch # semodule -X 300 -i my-certwatch.pp Additional Information: Source Context system_u:system_r:certwatch_t:s0-s0:c0.c1023 Target Context system_u:object_r:tmp_t:s0 Target Objects /tmp [ dir ] Source certwatch Source Path certwatch Port <Unknown> Host grograman Source RPM Packages Target RPM Packages filesystem-3.9-2.fc29.x86_64 Policy RPM selinux-policy-3.14.2-42.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name grograman Platform Linux grograman 4.19.4-300.fc29.x86_64 #1 SMP Fri Nov 23 13:03:11 UTC 2018 x86_64 x86_64 Alert Count 672 First Seen 2018-11-09 14:41:17 EST Last Seen 2018-11-29 04:57:36 EST Local ID 41fc9790-3cdf-4d0e-9ac5-afdefbea4a26 Raw Audit Messages type=AVC msg=audit(1543485456.588:977): avc: denied { write } for pid=50382 comm="certwatch" name="/" dev="tmpfs" ino=16983 scontext=system_u:system_r:certwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmp_t:s0 tclass=dir permissive=0 Hash: certwatch,certwatch_t,tmp_t,dir,write Description of problem: This is one of a cascade of related reports presented each morning after I open my laptop. Additional info: reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.19.4-300.fc29.x86_64 type: libreport *** This bug has been marked as a duplicate of bug 1655357 *** |