Bug 861476 - SELinux is preventing /usr/sbin/automount from 'search' accesses on the directory vm.
SELinux is preventing /usr/sbin/automount from 'search' accesses on the direc...
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-09-28 14:30 EDT by Frank Murphy
Modified: 2012-10-02 05:44 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-10-02 05:44:09 EDT
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-09-28 14:30 EDT, Frank Murphy
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-28 14:30 EDT, Frank Murphy
no flags Details

  None (edit)
Description Frank Murphy 2012-09-28 14:30:11 EDT
Additional info:
libreport version: 2.0.14
kernel:         3.6.0-0.rc7.git1.4.fc18.x86_64

:SELinux is preventing /usr/sbin/automount from 'search' accesses on the directory vm.
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that automount should be allowed search access on the vm directory by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:allow this access for now by executing:
:# grep automount /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:Additional Information:
:Source Context                system_u:system_r:automount_t:s0
:Target Context                system_u:object_r:sysctl_vm_t:s0
:Target Objects                vm [ dir ]
:Source                        automount
:Source Path                   /usr/sbin/automount
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           autofs-5.0.7-3.fc19.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.11.1-18.fc18.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.0-0.rc7.git1.4.fc18.x86_64 #1
:                              SMP Tue Sep 25 19:55:25 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-09-28 12:20:02 UTC
:Last Seen                     2012-09-28 16:15:02 UTC
:Local ID                      b467ecc9-5c3d-46c2-a288-02a7d643e2cd
:Raw Audit Messages
:type=AVC msg=audit(1348848902.69:83): avc:  denied  { search } for  pid=1687 comm="automount" name="vm" dev="proc" ino=13954 scontext=system_u:system_r:automount_t:s0 tcontext=system_u:object_r:sysctl_vm_t:s0 tclass=dir
:type=SYSCALL msg=audit(1348848902.69:83): arch=x86_64 syscall=open success=no exit=EACCES a0=7f36de099fa0 a1=80000 a2=81 a3=21220 items=0 ppid=1 pid=1687 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=automount exe=/usr/sbin/automount subj=system_u:system_r:automount_t:s0 key=(null)
:Hash: automount,automount_t,sysctl_vm_t,dir,search
:#============= automount_t ==============
:allow automount_t sysctl_vm_t:dir search;
:audit2allow -R
:#============= automount_t ==============
:allow automount_t sysctl_vm_t:dir search;
Comment 1 Frank Murphy 2012-09-28 14:30:14 EDT
Created attachment 618717 [details]
File: type
Comment 2 Frank Murphy 2012-09-28 14:30:16 EDT
Created attachment 618718 [details]
File: hashmarkername
Comment 3 Miroslav Grepl 2012-10-02 05:44:09 EDT

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