Bug 671189 - SELinux is preventing /usr/bin/evolution "read" access on /var/lib/jetty/lib/naming/[javamail].jar.
Summary: SELinux is preventing /usr/bin/evolution "read" access on /var/lib/jetty...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3d8b69ad77b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 17:43 UTC by Walt
Modified: 2011-03-17 18:48 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.7.19-89.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-17 18:48:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Walt 2011-01-20 17:43:24 UTC
Summary:

SELinux is preventing /usr/bin/evolution "read" access on
/var/lib/jetty/lib/naming/[javamail].jar.

Detailed Description:

SELinux denied access requested by evolution. It is not expected that this
access is required by evolution and this access may signal an intrusion attempt.
It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                user_u:user_r:user_t:s0
Target Context                system_u:object_r:var_lib_t:s0
Target Objects                /var/lib/jetty/lib/naming/[javamail].jar [
                              lnk_file ]
Source                        evolution
Source Path                   evolution
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           evolution-2.30.3-1.fc13
Target RPM Packages           jetty-6.1.21-4.fc13
Policy RPM                    selinux-policy-3.7.19-76.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.7-66.fc13.i686 #1
                              SMP Wed Dec 15 07:40:25 UTC 2010 i686 i686
Alert Count                   167
First Seen                    Thu 06 Jan 2011 08:31:22 AM EST
Last Seen                     Thu 06 Jan 2011 08:34:06 AM EST
Local ID                      a563fa6a-dc8e-4b03-adb2-faa9d9aede17
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1294320846.9:8933): avc:  denied  { read } for  pid=14549 comm="evolution" name="[javamail].jar" dev=dm-0 ino=682254 scontext=user_u:user_r:user_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1294320846.9:8933): arch=40000003 syscall=195 success=no exit=-13 a0=8d686be0 a1=ad41699c a2=bf5ff4 a3=3 items=0 ppid=4711 pid=14549 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=6 comm="evolution" exe="/usr/bin/evolution" subj=user_u:user_r:user_t:s0 key=(null)



Hash String generated from  catchall,evolution,user_t,var_lib_t,lnk_file,read
audit2allow suggests:

#============= user_t ==============
allow user_t var_lib_t:lnk_file read;

Comment 1 Daniel Walsh 2011-01-20 20:24:23 UTC
Miroslav add

	files_read_var_lib_symlinks($1_usertype)

to userdom_common_user_template

Comment 2 Miroslav Grepl 2011-01-27 13:34:01 UTC
Fixed in selinux-policy-3.7.19-87.fc13

Comment 3 Fedora Update System 2011-02-04 10:31:25 UTC
selinux-policy-3.7.19-89.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-89.fc13

Comment 4 Fedora Update System 2011-02-04 19:48:32 UTC
selinux-policy-3.7.19-89.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-89.fc13

Comment 5 Fedora Update System 2011-03-17 18:48:11 UTC
selinux-policy-3.7.19-89.fc13 has been pushed to the Fedora 13 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.