| Summary: | SELinux is preventing cups-pk-helper- from 'add_name' accesses on the directory 568d93f8cd31c. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Frieben <jfrieben> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:982e0a42e993f8b4284ba7be02c7fdbae11da308b83a7a78eddc6047055a796f;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-03 13:43:34 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 1296348 has been marked as a duplicate of this bug. *** *** Bug 1296346 has been marked as a duplicate of this bug. *** Looks like cups_config_t needs to be able to create content in a tmpfs_t directory. I would this is caused by bad labeling /tmp. See https://github.com/systemd/systemd/issues/2196 (In reply to Lukas Vrabec from comment #4) > I would this is caused by bad labeling /tmp. > > See https://github.com/systemd/systemd/issues/2196 Yes. restorecon -Rv /tmp will fix labeling for /tmp directory to tmp_t. Will be fixed in next systemd release: https://github.com/evverx/systemd/commit/373bf8c037125039fdfd8637544ce6242beede9c |
Description of problem: SELinux is preventing cups-pk-helper- from 'add_name' accesses on the directory 568d93f8cd31c. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that cups-pk-helper- should be allowed add_name access on the 568d93f8cd31c 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: # grep cups-pk-helper- /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 Target Context system_u:object_r:tmpfs_t:s0 Target Objects 568d93f8cd31c [ dir ] Source cups-pk-helper- Source Path cups-pk-helper- Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-164.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.4.0-0.rc8.git0.1.fc24.x86_64 #1 SMP Mon Jan 4 17:13:26 UTC 2016 x86_64 x86_64 Alert Count 2 First Seen 2016-01-06 23:23:26 CET Last Seen 2016-01-06 23:23:52 CET Local ID 0e6a6102-5b54-417b-9f70-6967dd85a094 Raw Audit Messages type=AVC msg=audit(1452119032.839:591): avc: denied { add_name } for pid=2528 comm="cups-pk-helper-" name="568d93f8cd31c" scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir permissive=1 Hash: cups-pk-helper-,cupsd_config_t,tmpfs_t,dir,add_name Version-Release number of selected component: selinux-policy-3.13.1-164.fc24.noarch Additional info: reporter: libreport-2.6.3 hashmarkername: setroubleshoot kernel: 4.4.0-0.rc8.git0.1.fc24.x86_64 type: libreport