Bug 189563

Summary: umount avc denial
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-05 15:00:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Jones 2006-04-21 02:52:16 UTC
type=AVC msg=audit(1145551774.737:52508): avc:  denied  { write } for  pid=32457
comm="umount" name="mtab" dev=dm-0 ino=17958918
scontext=system_u:system_r:mount_t:s0 tcontext=user_u:object_r:etc_t:s0 tclass=file

Hmm, this may also explain why the automatically-mount-on-insert behaviour of my
usb key went a bit.. strange yesterday.  (Ie, it stopped working).
/proc/mounts and /etc/mtab were out of sync.

Comment 1 Daniel Walsh 2006-04-25 00:42:08 UTC
Also a labeling problem.  restorecon /etc/mtab.  

You might want to run restorecond.  

Latest policy should keep this up /etc/mtab the correct context.

Comment 3 Daniel Walsh 2006-05-05 15:00:36 UTC
Closing as these have been marked as modified, for a while.  Feel free to reopen
if not fixed