Bug 820666 - SELinux is preventing updatedb from 'open' accesses on the directory /usr/share/sagator.
Summary: SELinux is preventing updatedb from 'open' accesses on the directory /usr/sha...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e945dc9eeb66f9c21738418055d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-10 15:49 UTC by geminic86
Modified: 2012-05-11 05:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-11 05:20:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description geminic86 2012-05-10 15:49:13 UTC
libreport version: 2.0.8
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.4-3.fc16.i686
reason:         SELinux is preventing updatedb from 'open' accesses on the directory /usr/share/sagator.
time:           Thu 10 May 2012 11:48:45 AM EDT

description:
:SELinux is preventing updatedb from 'open' accesses on the directory /usr/share/sagator.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that updatedb should be allowed open access on the sagator directory by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep updatedb /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:locate_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:sagator_t:s0
:Target Objects                /usr/share/sagator [ dir ]
:Source                        updatedb
:Source Path                   updatedb
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           sagator-core-1.2.3-1.fc16.noarch
:Policy RPM                    selinux-policy-3.10.0-86.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.4-3.fc16.i686 #1 SMP Thu May 3
:                              15:01:22 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Thu 10 May 2012 03:29:07 AM EDT
:Last Seen                     Thu 10 May 2012 03:29:07 AM EDT
:Local ID                      310eb4f3-b4cd-4e4d-b4ab-af3fe6615049
:
:Raw Audit Messages
:type=AVC msg=audit(1336634947.556:700): avc:  denied  { open } for  pid=28103 comm="updatedb" name="sagator" dev="dm-1" ino=205695 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sagator_t:s0 tclass=dir
:
:
:Hash: updatedb,locate_t,sagator_t,dir,open
:
:audit2allow
:
:#============= locate_t ==============
:allow locate_t sagator_t:dir open;
:
:audit2allow -R
:
:#============= locate_t ==============
:allow locate_t sagator_t:dir open;
:

Comment 1 Miroslav Grepl 2012-05-11 05:20:43 UTC
Please don't fill bugs related to sagator. This policy is not a part of our policy.

How I said you, if you have questions, please use fedora-selinux mailing list.


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