Bug 967173 - SELinux is preventing /usr/bin/clamscan from 'getattr' accesses on the file /etc/selinux/targeted/modules/active/modules/mozilla.pp.
Summary: SELinux is preventing /usr/bin/clamscan from 'getattr' accesses on the file /...
Keywords:
Status: CLOSED DUPLICATE of bug 967172
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:198af21740453c5bb0e27f6a1b1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-25 07:07 UTC by Grosswiler Roger
Modified: 2013-05-27 10:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-27 10:59:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Grosswiler Roger 2013-05-25 07:07:55 UTC
Description of problem:
SELinux is preventing /usr/bin/clamscan from 'getattr' accesses on the file /etc/selinux/targeted/modules/active/modules/mozilla.pp.

*****  Plugin catchall (100. confidence) suggests  ***************************

If sie denken, dass es clamscan standardmässig erlaubt sein sollte, getattr Zugriff auf mozilla.pp file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep clamscan /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:antivirus_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:semanage_store_t:s0
Target Objects                /etc/selinux/targeted/modules/active/modules/mozil
                              la.pp [ file ]
Source                        clamscan
Source Path                   /usr/bin/clamscan
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           clamav-0.97.8-1.fc19.x86_64
Target RPM Packages           selinux-policy-targeted-3.12.1-44.fc19.noarch
Policy RPM                    selinux-policy-3.12.1-44.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.9.3-301.fc19.x86_64 #1 SMP Mon
                              May 20 12:50:56 UTC 2013 x86_64 x86_64
Alert Count                   77
First Seen                    2013-05-13 06:45:37 CEST
Last Seen                     2013-05-25 06:53:25 CEST
Local ID                      09a770ae-c1e5-423d-bc3d-ca1da51fc5cd

Raw Audit Messages
type=AVC msg=audit(1369457605.123:24243): avc:  denied  { getattr } for  pid=23901 comm="clamscan" path="/etc/selinux/targeted/modules/active/modules/mozilla.pp" dev="dm-1" ino=2112810 scontext=system_u:system_r:antivirus_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:semanage_store_t:s0 tclass=file


type=SYSCALL msg=audit(1369457605.123:24243): arch=x86_64 syscall=lstat success=no exit=EACCES a0=835620 a1=7fff1f06cc70 a2=7fff1f06cc70 a3=a items=0 ppid=23899 pid=23901 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=13 tty=(none) comm=clamscan exe=/usr/bin/clamscan subj=system_u:system_r:antivirus_t:s0-s0:c0.c1023 key=(null)

Hash: clamscan,antivirus_t,semanage_store_t,file,getattr

Additional info:
reporter:       libreport-2.1.4
hashmarkername: setroubleshoot
kernel:         3.9.3-301.fc19.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-05-27 10:59:54 UTC

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


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