Bug 863258 - SELinux is preventing /usr/sbin/named from 'search' accesses on the directory vm.
Summary: SELinux is preventing /usr/sbin/named from 'search' accesses on the directory...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5c3b53a6872a1b42ecf892fef09...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-04 20:17 UTC by Nicolas Mailhot
Modified: 2012-12-15 19:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-15 19:19:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-04 20:17 UTC, Nicolas Mailhot
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-04 20:17 UTC, Nicolas Mailhot
no flags Details

Description Nicolas Mailhot 2012-10-04 20:17:01 UTC
Additional info:
libreport version: 2.0.14
kernel:         3.6.0-3.fc18.x86_64

description:
:SELinux is preventing /usr/sbin/named from 'search' accesses on the directory vm.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If vous pensez que named devrait être autorisé à accéder search sur vm directory par défaut.
:Then vous devriez rapporter ceci en tant qu'anomalie.
:Vous pouvez générer un module de stratégie local pour autoriser cet accès.
:Do
:autoriser cet accès pour le moment en exécutant :
:# grep named /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:named_t:s0
:Target Context                system_u:object_r:sysctl_vm_t:s0
:Target Objects                vm [ dir ]
:Source                        named
:Source Path                   /usr/sbin/named
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           bind-9.9.1-10.P3.fc19.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.11.1-29.fc18.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.0-3.fc18.x86_64 #1 SMP Wed Oct
:                              3 13:29:15 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-10-04 22:11:37 CEST
:Last Seen                     2012-10-04 22:11:37 CEST
:Local ID                      e0be8b16-335d-4690-8596-65196e3b2bba
:
:Raw Audit Messages
:type=AVC msg=audit(1349381497.467:49): avc:  denied  { search } for  pid=790 comm="named" name="vm" dev="proc" ino=15870 scontext=system_u:system_r:named_t:s0 tcontext=system_u:object_r:sysctl_vm_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1349381497.467:49): arch=x86_64 syscall=open success=no exit=EACCES a0=7fe429bce2e0 a1=80000 a2=fffffffffffdfff0 a3=26520 items=0 ppid=779 pid=790 auid=4294967295 uid=25 gid=25 euid=25 suid=25 fsuid=25 egid=25 sgid=25 fsgid=25 tty=(none) ses=4294967295 comm=named exe=/usr/sbin/named subj=system_u:system_r:named_t:s0 key=(null)
:
:Hash: named,named_t,sysctl_vm_t,dir,search
:
:audit2allow
:
:#============= named_t ==============
:allow named_t sysctl_vm_t:dir search;
:
:audit2allow -R
:
:#============= named_t ==============
:allow named_t sysctl_vm_t:dir search;
:

Comment 1 Nicolas Mailhot 2012-10-04 20:17:04 UTC
Created attachment 621818 [details]
File: type

Comment 2 Nicolas Mailhot 2012-10-04 20:17:06 UTC
Created attachment 621819 [details]
File: hashmarkername


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