Bug 863258 - SELinux is preventing /usr/sbin/named from 'search' accesses on the directory vm.
SELinux is preventing /usr/sbin/named from 'search' accesses on the directory...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-10-04 16:17 EDT by Nicolas Mailhot
Modified: 2012-12-15 14:19 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-12-15 14:19:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Nicolas Mailhot 2012-10-04 16:17:01 EDT
Additional info:
libreport version: 2.0.14
kernel:         3.6.0-3.fc18.x86_64

: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.
: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
:#============= 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 16:17:04 EDT
Created attachment 621818 [details]
File: type
Comment 2 Nicolas Mailhot 2012-10-04 16:17:06 EDT
Created attachment 621819 [details]
File: hashmarkername

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