Bug 647031 - SELinux is preventing /usr/bin/python "setattr" access on /etc/dhcp/manager-settings.conf.
Summary: SELinux is preventing /usr/bin/python "setattr" access on /etc/dhcp/mana...
Keywords:
Status: CLOSED DUPLICATE of bug 647030
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7321e8807be...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-26 21:19 UTC by leigh scott
Modified: 2010-11-13 10:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-27 12:43:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description leigh scott 2010-10-26 21:19:55 UTC
Summary:

SELinux is preventing /usr/bin/python "setattr" access on
/etc/dhcp/manager-settings.conf.

Detailed Description:

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

SELinux denied access requested by wicd. It is not expected that this access is
required by wicd 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:NetworkManager_t:s0
Target Context                system_u:object_r:etc_t:s0
Target Objects                /etc/dhcp/manager-settings.conf [ file ]
Source                        wicd
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.4-27.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-68.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.7-61.fc13.i686
                              #1 SMP Tue Oct 19 04:42:47 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Tue 26 Oct 2010 22:16:30 BST
Last Seen                     Tue 26 Oct 2010 22:16:30 BST
Local ID                      72139f1c-e988-4f7f-a69a-16615b55107d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1288127790.339:28): avc:  denied  { setattr } for  pid=1698 comm="wicd" name="manager-settings.conf" dev=sda1 ino=84314 scontext=unconfined_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1288127790.339:28): arch=40000003 syscall=15 success=yes exit=0 a0=9c6fbe8 a1=180 a2=5067880 a3=98b5050 items=0 ppid=1 pid=1698 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="wicd" exe="/usr/bin/python" subj=unconfined_u:system_r:NetworkManager_t:s0 key=(null)



Hash String generated from  catchall,wicd,NetworkManager_t,etc_t,file,setattr
audit2allow suggests:

#============= NetworkManager_t ==============
allow NetworkManager_t etc_t:file setattr;

Comment 1 Miroslav Grepl 2010-10-27 12:43:38 UTC

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


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