Bug 640628 - SELinux is preventing minirosetta_2.1 "unix_write" access .
Summary: SELinux is preventing minirosetta_2.1 "unix_write" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5842fc1bae6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-06 13:52 UTC by Bruce Cowan
Modified: 2010-10-15 12:41 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.7-1.fc14
Clone Of:
Environment:
Last Closed: 2010-10-15 12:41:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
More from the log (58.14 KB, text/plain)
2010-10-06 14:14 UTC, Bruce Cowan
no flags Details

Description Bruce Cowan 2010-10-06 13:52:42 UTC
Summary:

SELinux is preventing minirosetta_2.1 "unix_write" access .

Detailed Description:

[minirosetta_2.1 has a permissive type (boinc_project_t). This access was not
denied.]

SELinux denied access requested by minirosetta_2.1. It is not expected that this
access is required by minirosetta_2.1 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                system_u:system_r:boinc_project_t:s0
Target Context                system_u:system_r:boinc_project_t:s0
Target Objects                None [ sem ]
Source                        minirosetta_2.1
Source Path                   minirosetta_2.1
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-7.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-28.fc14.x86_64 #1 SMP Wed
                              Sep 15 01:56:54 UTC 2010 x86_64 x86_64
Alert Count                   6
First Seen                    Wed 06 Oct 2010 14:50:37 BST
Last Seen                     Wed 06 Oct 2010 14:51:55 BST
Local ID                      32e9b49a-6579-4912-b1ba-0e073540a8d1
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1286373115.507:32542): avc:  denied  { unix_write } for  pid=2410 comm="minirosetta_2.1" key=54323  scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:system_r:boinc_project_t:s0 tclass=sem

node=(removed) type=AVC msg=audit(1286373115.507:32542): avc:  denied  { read write } for  pid=2410 comm="minirosetta_2.1" key=54323  scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:system_r:boinc_project_t:s0 tclass=sem

node=(removed) type=SYSCALL msg=audit(1286373115.507:32542): arch=40000003 syscall=117 per=400000 success=yes exit=0 a0=1 a1=70000 a2=1 a3=0 items=0 ppid=1639 pid=2410 auid=4294967295 uid=492 gid=482 euid=492 suid=492 fsuid=492 egid=482 sgid=482 fsgid=482 tty=(none) ses=4294967295 comm="minirosetta_2.1" subj=system_u:system_r:boinc_project_t:s0 key=(null)



Hash String generated from  catchall,minirosetta_2.1,boinc_project_t,boinc_project_t,sem,unix_write
audit2allow suggests:

#============= boinc_project_t ==============
allow boinc_project_t self:sem { read write unix_write };

Comment 1 Bruce Cowan 2010-10-06 14:14:48 UTC
Created attachment 451905 [details]
More from the log

Here's even more messages from the log

Comment 2 Daniel Walsh 2010-10-06 14:50:18 UTC
Miroslav I guess we need to add

allow boinc_project_t self:sem create_sem_perms;


To F13 also

Fixed in selinux-policy-3.9.5-11.fc14

Comment 3 Fedora Update System 2010-10-13 16:12:52 UTC
selinux-policy-3.9.7-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-1.fc14

Comment 4 Fedora Update System 2010-10-13 21:20:31 UTC
selinux-policy-3.9.7-1.fc14 has been pushed to the Fedora 14 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.9.7-1.fc14

Comment 5 Fedora Update System 2010-10-15 12:40:29 UTC
selinux-policy-3.9.7-1.fc14 has been pushed to the Fedora 14 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.