Bug 799377 - SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /usr/share/sagator.
Summary: SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the direct...
Keywords:
Status: CLOSED DUPLICATE of bug 640149
Alias: None
Product: Fedora
Classification: Fedora
Component: sagator
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan ONDREJ
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9ff6a07074a1f9f5ee3b33e9e89...
: 799378 799379 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-02 15:39 UTC by geminic86
Modified: 2012-03-22 07:19 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-03-22 07:19:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description geminic86 2012-03-02 15:39:28 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.7-1.fc16.i686.PAE
reason:         SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /usr/share/sagator.
time:           Fri 02 Mar 2012 10:39:16 AM EST

description:
:SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /usr/share/sagator.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that updatedb should be allowed getattr 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                   /usr/bin/updatedb
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           mlocate-0.24-1.fc16.i686
:Target RPM Packages           sagator-core-1.2.3-1.fc16.noarch
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.7-1.fc16.i686.PAE #1 SMP Tue Feb
:                              21 01:30:59 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Fri 02 Mar 2012 10:38:51 AM EST
:Last Seen                     Fri 02 Mar 2012 10:38:51 AM EST
:Local ID                      24204380-b7fe-4d1c-b3b2-1915624830d5
:
:Raw Audit Messages
:type=AVC msg=audit(1330702731.719:395): avc:  denied  { getattr } for  pid=10838 comm="updatedb" path="/usr/share/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
:
:
:type=SYSCALL msg=audit(1330702731.719:395): arch=i386 syscall=lstat64 success=no exit=EACCES a0=9fff131 a1=bfe40640 a2=4f5ddff4 a3=9ff5358 items=0 ppid=10832 pid=10838 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm=updatedb exe=/usr/bin/updatedb subj=system_u:system_r:locate_t:s0-s0:c0.c1023 key=(null)
:
:Hash: updatedb,locate_t,sagator_t,dir,getattr
:
:audit2allow
:
:#============= locate_t ==============
:allow locate_t sagator_t:dir getattr;
:
:audit2allow -R
:
:#============= locate_t ==============
:allow locate_t sagator_t:dir getattr;
:

Comment 1 Daniel Walsh 2012-03-02 19:51:50 UTC
I have no clue what a sagator_t is, it is not defined in SELinux policy package.

Comment 2 Daniel Walsh 2012-03-02 19:52:19 UTC
*** Bug 799379 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2012-03-02 19:52:27 UTC
*** Bug 799378 has been marked as a duplicate of this bug. ***

Comment 4 Jan ONDREJ 2012-03-22 07:19:50 UTC

*** This bug has been marked as a duplicate of bug 640149 ***


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