Bug 1473275 - SELinux is preventing cupsd from 'write' accesses on the file cupsd.conf.N.
SELinux is preventing cupsd from 'write' accesses on the file cupsd.conf.N.
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
abrt_hash:130ae95988abad73a7aa26a6ec2...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-20 07:45 EDT by Benn Horton
Modified: 2017-07-20 07:45 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Benn Horton 2017-07-20 07:45:17 EDT
Description of problem:
SELinux is preventing cupsd from 'write' accesses on the file cupsd.conf.N.

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

If you believe that cupsd should be allowed write access on the cupsd.conf.N 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 'cupsd' --raw | audit2allow -M my-cupsd
# semodule -X 300 -i my-cupsd.pp

Additional Information:
Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:cupsd_etc_t:s0
Target Objects                cupsd.conf.N [ file ]
Source                        cupsd
Source Path                   cupsd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.1.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.10-300.fc26.x86_64 #1 SMP Wed
                              Jul 12 17:05:39 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-07-20 11:03:17 BST
Last Seen                     2017-07-20 11:03:17 BST
Local ID                      fb4b4ce9-c6ef-479b-8ea6-8e207c441beb

Raw Audit Messages
type=AVC msg=audit(1500544997.830:345): avc:  denied  { write } for  pid=2015 comm="cupsd" name="cupsd.conf.N" dev="dm-0" ino=918703 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cupsd_etc_t:s0 tclass=file permissive=0


Hash: cupsd,cupsd_t,cupsd_etc_t,file,write

Version-Release number of selected component:
selinux-policy-3.13.1-260.1.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.10-300.fc26.x86_64
type:           libreport

Potential duplicate: bug 809654

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