Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1401634 - SELinux is preventing cups-browsed from create access on the lnk_file 58456ab283fca.
Summary: SELinux is preventing cups-browsed from create access on the lnk_file 58456ab...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 18:46 UTC by Simon Sekidde
Modified: 2019-06-14 11:31 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.13.1-251.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-09 21:21:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Simon Sekidde 2016-12-05 18:46:31 UTC
Description of problem:

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that cups-browsed should be allowed create access on the 58456ab283fca lnk_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 'cups-browsed' --raw | audit2allow -M my-cupsbrowsed
# semodule -X 300 -i my-cupsbrowsed.pp


Additional Information:
Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:tmp_t:s0
Target Objects                58456ab283fca [ lnk_file ]
Source                        cups-browsed
Source Path                   cups-browsed
Port                          <Unknown>
Host                          <Unknown>
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-227.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     <redacted>
Platform                      Linux <redacted>
                              4.9.0-0.rc7.git3.2.fc26.x86_64 #1 SMP Thu Dec 1
                              22:50:14 UTC 2016 x86_64 x86_64
Alert Count                   16516
First Seen                    2016-12-05 08:25:06 EST
Last Seen                     2016-12-05 08:25:06 EST
Local ID                      03567105-d016-4d54-8f02-70cad32ea3e3

Raw Audit Messages
type=AVC msg=audit(1480944306.539:27564): avc:  denied  { create } for  pid=1374 comm="cups-browsed" name="58456ab283fca" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmp_t:s0 tclass=lnk_file permissive=0


Hash: cups-browsed,cupsd_t,tmp_t,lnk_file,create

Comment 2 Fedora End Of Life 2017-02-28 10:44:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Fedora Update System 2017-04-19 20:38:42 UTC
selinux-policy-3.13.1-251.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f36794dd98

Comment 4 Fedora Update System 2017-04-20 20:23:29 UTC
selinux-policy-3.13.1-251.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f36794dd98

Comment 5 Fedora Update System 2017-05-09 21:21:22 UTC
selinux-policy-3.13.1-251.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.