Bug 967708 - SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk- from 'create' accesses on the directory 14.
SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-
Status: CLOSED DUPLICATE of bug 967378
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-05-28 01:53 EDT by Klaas Zwaan
Modified: 2013-05-28 06:11 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-28 06:11:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Klaas Zwaan 2013-05-28 01:53:25 EDT
Description of problem:
Start working at my office from home.
Last week it worked just fine. Yesterday I have installed updates for Fedora 17.
SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk- from 'create' accesses on the directory 14.

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

If je denkt dat java standaard create toegang moet hebben tot de  14 directory.
Then je moet dit melden als een fout.
Je kunt een locale tactiek module genereren om deze toegang toe te staan.
sta deze toegang nu toe door het uitvoeren van:
# grep java /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                14 [ dir ]
Source                        java
Source Path                   /usr/lib/jvm/java-1.7.0-openjdk-
Port                          <Onbekend>
Host                          (removed)
Source RPM Packages           java-1.7.0-openjdk-
Target RPM Packages           
Policy RPM                    selinux-policy-3.10.0-169.fc17.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.8.13-100.fc17.x86_64 #1 SMP Mon
                              May 13 13:36:17 UTC 2013 x86_64 x86_64
Alert Count                   34
First Seen                    2013-05-28 07:44:44 CEST
Last Seen                     2013-05-28 07:47:35 CEST
Local ID                      6c52cef6-14fb-4439-9ce8-256a1d8187ff

Raw Audit Messages
type=AVC msg=audit(1369720055.263:197): avc:  denied  { create } for  pid=2258 comm="java" name="14" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir

type=SYSCALL msg=audit(1369720055.263:197): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=7f79700061f0 a1=1ff a2=7f7a1b5e0060 a3=1e items=0 ppid=1515 pid=2258 auid=1002 uid=1002 gid=1002 euid=1002 suid=1002 fsuid=1002 egid=1002 sgid=1002 fsgid=1002 ses=2 tty=(none) comm=java exe=/usr/lib/jvm/java-1.7.0-openjdk- subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: java,mozilla_plugin_t,user_home_t,dir,create


#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_t:dir create;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_t:dir create;

Additional info:
hashmarkername: setroubleshoot
kernel:         3.8.13-100.fc17.x86_64
type:           libreport

Potential duplicate: bug 963143
Comment 1 Miroslav Grepl 2013-05-28 06:11:32 EDT

*** This bug has been marked as a duplicate of bug 967378 ***

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