Bug 540558

Summary: SELinux is preventing libgpod-callout (hald_t) "mount" fs_t.
Product: [Fedora] Fedora Reporter: Laurent Forthomme <forthommel>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:4bff3c59b52e3765611f5ed16cdf8611af8fe30b5bdf4651ccb7ebf440820c18
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 18:43:51 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 Laurent Forthomme 2009-11-23 16:45:49 UTC
Summary:

SELinux is preventing libgpod-callout (hald_t) "mount" fs_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by libgpod-callout. It is not expected that this
access is required by libgpod-callout and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:hald_t:s0
Target Context                system_u:object_r:fs_t:s0
Target Objects                / [ filesystem ]
Source                        libgpod-callout
Source Path                   /usr/lib/hal/scripts/libgpod-callout
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           libgpod-0.7.0-2.fc11
Target RPM Packages           filesystem-2.4.21-1.fc11
Policy RPM                    selinux-policy-3.6.12-83.fc11
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.30.8-64.fc11.i586
                              #1 SMP Fri Sep 25 04:30:19 EDT 2009 i686 i686
Alert Count                   14
First Seen                    Mon 14 Sep 2009 02:48:56 PM CEST
Last Seen                     Wed 14 Oct 2009 02:07:05 AM CEST
Local ID                      fab7b0fe-4efd-4d5c-8b87-c83741c5b741
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1255478825.304:128): avc:  denied  { mount } for  pid=6283 comm="libgpod-callout" name="/" dev=sdb3 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem

node=(removed) type=SYSCALL msg=audit(1255478825.304:128): arch=40000003 syscall=21 success=yes exit=0 a0=bfb596ac a1=99e8560 a2=bfb5986e a3=0 items=0 ppid=1410 pid=6283 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="libgpod-callout" exe="/usr/lib/hal/scripts/libgpod-callout" subj=system_u:system_r:hald_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-83.fc11,catchall,libgpod-callout,hald_t,fs_t,filesystem,mount
audit2allow suggests:

#============= hald_t ==============
allow hald_t fs_t:filesystem mount;

Comment 1 Daniel Walsh 2009-11-23 18:43:51 UTC

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