Bug 998193 - SELinux is preventing java from creating .icedtea
Summary: SELinux is preventing java from creating .icedtea
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-18 05:17 UTC by Larry O'Leary
Modified: 2013-08-22 00:55 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.12.1-71.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-22 00:55:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 964653 0 unspecified CLOSED SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/jre/bin/java from 'create' accesses on the directo... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 967298 0 unspecified CLOSED SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19/jre/bin/java from 'create' accesses on the directory .ice... 2021-02-22 00:41:40 UTC

Description Larry O'Leary 2013-08-18 05:17:50 UTC
Description of problem:
Java applets will not execute due to SELinux. It appears that java is unable to create the .icedtea directory in the users home:

avc:  denied  { create } comm="java" name=".icedtea" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir

Version-Release number of selected component (if applicable):
3.12.1.69-fc19

How reproducible:
Always

Steps to Reproduce:
1. Install Fedora 19 + GNOME + Firefox + OpenJDK + icedtea-web
2. From Firefox, navigate to http://www.java.com/en/download/testjava.jsp

Actual results:
Java test applet exception occurs and SELinux denial is reported.

Expected results:
Java test applet should run normally and no SELinux denial should occur.

Additional info:
This looks like it might be a regression as this seems to have been reported a few different time over the past few months

Comment 2 Fedora Update System 2013-08-20 08:28:26 UTC
selinux-policy-3.12.1-71.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-71.fc19

Comment 3 Fedora Update System 2013-08-21 00:17:15 UTC
Package selinux-policy-3.12.1-71.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-71.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15088/selinux-policy-3.12.1-71.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-08-22 00:55:08 UTC
selinux-policy-3.12.1-71.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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