Bug 755364

Summary: Eclipse AVCs denial
Product: [Fedora] Fedora Reporter: Carl G. <carlg>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dwalsh
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: 2011-11-21 23:11:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Carl G. 2011-11-20 22:31:55 UTC
type=AVC msg=audit(1321827966.332:1087): avc:  denied  { read } for  pid=29039 comm="java" name="config.ini" dev=sda5 ino=1311778 scontext=staff_u:staff_r:staff_java_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

type=AVC msg=audit(1321827966.332:1087): avc:  denied  { open } for  pid=29039 comm="java" name="config.ini" dev=sda5 ino=1311778 scontext=staff_u:staff_r:staff_java_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

type=AVC msg=audit(1321827966.444:1088): avc:  denied  { write } for  pid=29039 comm="java" name=".fileTableLock" dev=sda5 ino=1311763 scontext=staff_u:staff_r:staff_java_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

type=AVC msg=audit(1321827966.447:1089): avc:  denied  { lock } for  pid=29039 comm="java" path="/home/carl/.eclipse/org.eclipse.platform_3.7.0_793567567/configuration/org.eclipse.osgi/.manager/.fileTableLock" dev=sda5 ino=1311763 scontext=staff_u:staff_r:staff_java_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

Locking is not possible in the directory "/home/carl/.eclipse/org.eclipse.platform_3.7.0_793567567/configuration/org.eclipse.osgi". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument. 
/home/carl/.eclipse/org.eclipse.platform_3.7.0_793567567/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)

Comment 1 Daniel Walsh 2011-11-21 23:11:47 UTC
You have some labeling wrong in your homedir.

restorecon -R -v /home