Bug 1119456

Summary: "SELinux is preventing /usr/sbin/lightdm from write access on the directory ."
Product: [Fedora] Fedora Reporter: Peter H. Jones <jones.peter.busi>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-15 22:44:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
SETroubleshoot output
none
Xorg.0.log none

Description Peter H. Jones 2014-07-14 20:04:33 UTC
Created attachment 917981 [details]
SETroubleshoot output

Description of problem:
SELinux alert

Version-Release number of selected component (if applicable):
lightdm-1.8.8-1.fc20.i686

How reproducible:
Sporadic

Actual results:
SELinux alert

Expected results:
No alert

Additional info:

$ ps -flwwp 968 gives
"F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
4 S jones      968   922  0  80   0 -  1335 wait   15:40 ?        00:00:00 /bin/sh /etc/xdg/xfce4/xinitrc"

Comment 1 Peter H. Jones 2014-07-14 20:06:33 UTC
Created attachment 917982 [details]
Xorg.0.log

Comment 2 Peter H. Jones 2014-07-15 02:20:35 UTC
It's happening on every start up when I log in .

Comment 3 Daniel Walsh 2014-07-15 22:44:13 UTC
THis is showing a file without a label.  It looks like the jones directory has no labels.  Probably was added from a system without SELinux.

You can simply add labels by running 

restorecon -R -v /home