Bug 788305 - SELinux is preventing /sbin/dhclient from read, write access on the None /tmp/ffiRFVr3F (deleted).
Summary: SELinux is preventing /sbin/dhclient from read, write access on the None /tmp...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 16
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5fa0e7b28c5d9e84f701347aeb7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 01:29 UTC by Carlos TC
Modified: 2013-02-13 13:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 13:52:41 UTC
Type: ---


Attachments (Terms of Use)
/var/log/messages (8.65 MB, text/plain)
2012-02-12 04:44 UTC, abhidixit87
no flags Details
/var/log/boot.log (24.12 KB, text/plain)
2012-02-12 04:45 UTC, abhidixit87
no flags Details

Description Carlos TC 2012-02-08 01:29:05 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.i686
reason:         SELinux is preventing /sbin/dhclient from read, write access on the None /tmp/ffiRFVr3F (deleted).
time:           Tue 07 Feb 2012 07:25:07 PM CST

description:
:SELinux is preventing /sbin/dhclient from read, write access on the None /tmp/ffiRFVr3F (deleted).
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that dhclient should be allowed read write access on the ffiRFVr3F (deleted) <Unknown> by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep dhclient /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:dhcpc_t:s0
:Target Context                system_u:object_r:NetworkManager_tmp_t:s0
:Target Objects                /tmp/ffiRFVr3F (deleted) [ None ]
:Source                        dhclient
:Source Path                   /sbin/dhclient
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           dhclient-4.2.3-6.P2.fc16.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.i686 #1 SMP Fri Feb
:                              3 20:06:02 UTC 2012 i686 i686
:Alert Count                   45
:First Seen                    Fri 03 Feb 2012 06:01:29 PM CST
:Last Seen                     Tue 07 Feb 2012 07:24:14 PM CST
:Local ID                      3196a67a-f729-478b-a75c-26ecdf8bd495
:
:Raw Audit Messages
:type=AVC msg=audit(1328664254.218:48): avc:  denied  { read write } for  pid=1564 comm="dhclient" path=2F746D702F666669524656723346202864656C6574656429 dev=dm-1 ino=1222 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:NetworkManager_tmp_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328664254.218:48): arch=40000003 syscall=11 success=yes exit=0 a0=8689e90 a1=8689ea8 a2=86d4bc0 a3=b7651a0c items=0 ppid=1055 pid=1564 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dhclient" exe="/sbin/dhclient" subj=system_u:system_r:dhcpc_t:s0 key=(null)
:
:
:Hash: dhclient,dhcpc_t,NetworkManager_tmp_t,None,read,write
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-08 11:43:13 UTC
NM is leaking.

Comment 2 Carlos TC 2012-02-08 15:22:15 UTC
The mouse pad of my laptop stop working correctly, i couldnt make clicks

Comment 3 Daniel Walsh 2012-02-08 19:53:38 UTC
The mouse pad is almost assuredly not effected but this AVC.

Comment 4 Daniel Walsh 2012-02-08 19:54:31 UTC
This looks like a bash redirection.

Comment 5 Miroslav Grepl 2012-02-09 08:23:59 UTC
Will see what Dan W. will say.

Comment 6 Daniel Walsh 2012-02-10 13:38:02 UTC
Miroslav, I think we can just dontaudit this.  I have a feeling this will be difficult to find and fix.  Code like

command << _EOF
...
dhclient
...
__EOF

Could cause this type of AVC.

Comment 7 abhidixit87 2012-02-11 16:44:37 UTC
/etc/init.d/network restart gives following some times

./network restart
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface Auto_alliswell:  Active connection state: activating
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/0

** (process:2287): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/0: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist


state: unknown
Error: Connection activation failed.
                                                           [FAILED]

Comment 8 abhidixit87 2012-02-12 04:44:25 UTC
Created attachment 561179 [details]
/var/log/messages

Comment 9 abhidixit87 2012-02-12 04:45:09 UTC
Created attachment 561180 [details]
/var/log/boot.log

Comment 10 Fedora End Of Life 2013-01-16 13:11:05 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 Fedora End Of Life 2013-02-13 13:52:43 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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