Bug 466746

Summary: AVC from time to time
Product: [Fedora] Fedora Reporter: Jan Hutař <jhutar>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ikent, jmoyer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-14 08:42:03 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
SELinux prevented umount from mounting on the file or directory "/proc/<pid>/mounts" (type "automount_t"). none

Description Jan Hutař 2008-10-13 08:07:35 EDT
Description of problem:
I'm getting AVC 1-2 times a day (maybe some cron job?)

Version-Release number of selected component (if applicable):

How reproducible:
+- every day

Steps to Reproduce:

Actual results:
node=pok.englab.brq.redhat.com type=AVC msg=audit(1223895669.84:141): avc: denied { read } for pid=9095 comm="umount" path="/proc/2137/mounts" dev=proc ino=69747 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:system_r:automount_t:s0 tclass=file node=pok.englab.brq.redhat.com type=SYSCALL msg=audit(1223895669.84:141): arch=c000003e syscall=59 success=yes exit=0 a0=7f28d4155f30 a1=7f28d4154ec0 a2=7f28d6438330 a3=7f28d4154110 items=0 ppid=2137 pid=9095 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="umount" exe="/bin/umount" subj=system_u:system_r:mount_t:s0 key=(null) 

Expected results:
no AVC
Comment 1 Jan Hutař 2008-10-13 08:08:53 EDT
Created attachment 320184 [details]
SELinux prevented umount from mounting on the file or directory "/proc/<pid>/mounts" (type "automount_t").

# ps ax | grep 2137
 2137 ?        Ssl    0:00 automount
 9580 pts/0    S+     0:00 grep 2137
Comment 2 Ian Kent 2008-10-14 08:20:08 EDT
I think we already have a few bugs for this.
Have a look at 390591, it has probably got the best information
about this issue.

I still need to act on Ulrichs comment about the close-on-exec
so I need a Rawhide install. But my system has started to become
ustable this last week or so and is particularly bad when trying
to run vms. So I think I'll be replacing my system unit which is
really bad timing just now, so it will be a little while longer
before I get onto this.

Comment 3 Ian Kent 2008-10-14 08:24:00 EDT
I'll leave this a NEW for now since we may end up marking it
as a duplicate of another bug.
Comment 4 Jan Hutař 2008-10-14 08:42:03 EDT
Thank you, closing.

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