Bug 627792 - SELinux is preventing /bin/bash "getattr" access on /bin/mountpoint.
Summary: SELinux is preventing /bin/bash "getattr" access on /bin/mountpoint.
Keywords:
Status: CLOSED DUPLICATE of bug 627793
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:4d503d4de6d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-27 01:11 UTC by Flóki Pálsson
Modified: 2010-08-27 11:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-27 10:44:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Flóki Pálsson 2010-08-27 01:11:24 UTC
Summary:

SELinux is preventing /bin/bash "getattr" access on /bin/mountpoint.

Detailed Description:

SELinux denied access requested by dhclient-script. It is not expected that this
access is required by dhclient-script 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023
Target Context                system_u:object_r:mount_exec_t:s0
Target Objects                /bin/mountpoint [ file ]
Source                        dhclient-script
Source Path                   /bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.1.7-3.fc14
Target RPM Packages           sysvinit-tools-2.87-4.dsf.fc14
Policy RPM                    selinux-policy-3.8.8-20.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.2-9.fc14.x86_64 #1 SMP Tue Aug
                              17 22:36:15 UTC 2010 x86_64 x86_64
Alert Count                   24
First Seen                    fim 26.ágú 2010, 22:31:15 GMT
Last Seen                     fös 27.ágú 2010, 01:08:36 GMT
Local ID                      04685217-11cb-445b-817f-9d21172e89df
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282871316.428:137): avc:  denied  { getattr } for  pid=1971 comm="dhclient-script" path="/bin/mountpoint" dev=sdb5 ino=659292 scontext=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mount_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1282871316.428:137): arch=c000003e syscall=4 success=no exit=-13 a0=1516730 a1=7fffcdc24980 a2=7fffcdc24980 a3=7fffcdc247b0 items=0 ppid=1965 pid=1971 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="dhclient-script" exe="/bin/bash" subj=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,dhclient-script,dhcpc_t,mount_exec_t,file,getattr
audit2allow suggests:

#============= dhcpc_t ==============
allow dhcpc_t mount_exec_t:file getattr;

Comment 1 Miroslav Grepl 2010-08-27 10:44:01 UTC

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


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