Bug 768379

Summary: SELinux is preventing /usr/sbin/cupsd from 'read' accesses on the file smfp.convs.
Product: [Fedora] Fedora Reporter: Michael Kremer <mkremer.ys>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:56bd1f289333a3a4480494745070203c0707c38efeddb6c5db5f729093fdf9eb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-15 15:10:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: description none

Description Michael Kremer 2011-12-16 13:54:06 UTC
libreport version: 2.0.7
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.5-2.fc16.x86_64
reason:         SELinux is preventing /usr/sbin/cupsd from 'read' accesses on the file smfp.convs.
time:           Fri 16 Dec 2011 08:45:55 AM EST

description:    Text file, 2344 bytes

Comment 1 Michael Kremer 2011-12-16 13:54:08 UTC
Created attachment 547809 [details]
File: description

Comment 2 Daniel Walsh 2011-12-17 12:40:27 UTC
Is smfp.convs actually in the home directory or is it somewhere else on the disk.  It might only need to have restorecon run on it.

restorecon smfp.convs

Comment 3 Michael Kremer 2011-12-17 13:39:35 UTC
In other cases I've seen SELinux offer restorecon as a solution, but in this case it was not presented as an option.

Comment 4 Miroslav Grepl 2011-12-18 20:51:01 UTC
The problem is with a path to this config file. If you add a path to this AVC msg

name="/etc/smfp.convs"

fox example and then 

# sealert -a /tmp/audit.log

alert will offer restorecon as solution.

Where is the config file located?