Bug 219295 - browse button on some applications do not work
Summary: browse button on some applications do not work
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 6
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2006-12-12 14:59 UTC by Cassio
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-08-22 14:13:42 UTC

Attachments (Terms of Use)

Description Cassio 2006-12-12 14:59:42 UTC
Description of problem: The 'browse files in the file system' functionality on
some programs do not work while SELinux is activated with the 'enforcing'
option. I have seen this problem with Eclipse 3.2.1 when clicking the open file
option(tested with 3.3 main stream build and the problem also occurs) and
azureus (when selecting the browse button to search for a torrent on the file
system). It seems to me that it may be something related to libswt. This can be
corrected by disabling SELinux.

Version-Release number of selected component (if applicable): selinux-policy
version 2.4.6 release 1.fc6 noarch.

How reproducible: Always.

Steps to Reproduce:
1. Start eclipse
2. Click open file menu item
Actual results: Eclipse will hang and the only way to terminate it is by killing it.

Expected results: Open the dialog containing the menus to browse the file system.

Additional info: Changing SELinux from 'enforcing' to 'disabled' solves the
problem in both Eclipse and Azureus.

Comment 1 Daniel Walsh 2006-12-12 16:35:59 UTC
Are you seeing AVC messages in /var/log/messages or /var/log/audit/audit.log?

Comment 2 Cassio 2006-12-12 17:01:41 UTC
Yes, the message i got in /var/log/messages is the following:

Dec 12 14:58:05 localhost dbus: Can't send to audit system: USER_AVC avc: 
denied  { send_msg } for msgtype=method_call interface=org.freedesktop.DBus
member=Hello dest=org.freedesktop.DBus spid=2857 scontext=user_u:system_r:java_t
tcontext=user_u:system_r:unconfined_t tclass=dbus : exe="/bin/dbus-daemon"
(sauid=500, hostname=?, addr=?, terminal=?)

I dont have a directory /var/log/audit

Comment 3 Daniel Walsh 2006-12-12 20:32:03 UTC
Should be fixed in selinux-policy-2.4.6-7.fc6

You can grab this out of fedora-test.

or grab it off of 

Comment 4 Cassio 2006-12-12 22:55:32 UTC
Thanks Daniel, I'll be waiting for it to come in the updates.

Comment 5 Daniel Walsh 2007-08-22 14:13:42 UTC
Fixed in current release

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