Bug 557778 - SELinux is preventing /usr/sbin/NetworkManager "create" access on NetworkManager.state.V5ZO6U.
Summary: SELinux is preventing /usr/sbin/NetworkManager "create" access on NetworkMana...
Keywords:
Status: CLOSED DUPLICATE of bug 557529
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5cde8c36d57...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-22 15:10 UTC by Łukasz Łucka
Modified: 2010-02-10 15:42 UTC (History)
44 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-25 14:47:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Łukasz Łucka 2010-01-22 15:10:46 UTC
Podsumowanie:

SELinux is preventing /usr/sbin/NetworkManager "create" access on
NetworkManager.state.V5ZO6U.

Szczegółowy opis:

SELinux denied access requested by NetworkManager. It is not expected that this
access is required by NetworkManager 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.

Zezwalanie na dostęp:

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.

Dodatkowe informacje:

Kontekst źródłowy          system_u:system_r:NetworkManager_t:s0
Kontekst docelowy             system_u:object_r:var_lib_t:s0
Obiekty docelowe              NetworkManager.state.V5ZO6U [ file ]
Źródło                     NetworkManager
Ścieżka źródłowa         /usr/sbin/NetworkManager
Port                          <Nieznane>
Komputer                      (removed)
Źródłowe pakiety RPM       NetworkManager-0.7.998-2.git20100106.fc12
Docelowe pakiety RPM          
Pakiet RPM polityki           selinux-policy-3.6.32-73.fc12
SELinux jest włączony       True
Typ polityki                  targeted
Tryb wymuszania               Enforcing
Nazwa wtyczki                 catchall
Nazwa komputera               (removed)
Platforma                     Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Liczba alarmów               1
Po raz pierwszy               pią, 22 sty 2010, 15:51:33
Po raz ostatni                pią, 22 sty 2010, 15:51:33
Lokalny identyfikator         f2d6edff-863a-4fad-83f1-2769ea528b39
Liczba wierszy                

Surowe komunikaty audytu      

node=(removed) type=AVC msg=audit(1264171893.708:6): avc:  denied  { create } for  pid=1059 comm="NetworkManager" name="NetworkManager.state.V5ZO6U" scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1264171893.708:6): arch=c000003e syscall=2 success=no exit=-13 a0=1e28170 a1=c2 a2=1b6 a3=4d6b726f7774654e items=0 ppid=1058 pid=1059 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="NetworkManager" exe="/usr/sbin/NetworkManager" subj=system_u:system_r:NetworkManager_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-73.fc12,catchall,NetworkManager,NetworkManager_t,var_lib_t,file,create
audit2allow suggests:

#============= NetworkManager_t ==============
allow NetworkManager_t var_lib_t:file create;

Comment 1 Miroslav Grepl 2010-01-25 14:47:05 UTC
execute:

# restorecon -R -v /var/lib

Will fix.

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

Comment 2 c_o_z_m_o 2010-01-29 16:52:05 UTC
Also have this bug. 

I used # restorecon -R -v /var/lib

but had later on at restart of ndiswrapper wlan and complete network (wired) failed to start. 

After several renames and reboots got it working again. But I still have this bug with network manager.

Comment 3 Daniel Walsh 2010-02-01 15:53:33 UTC
Did you have to relabel the /var/lib/NetworkManager directory again?

Comment 4 Daniel Walsh 2010-02-01 16:01:01 UTC
Does ndiswrapper remove and recreate this directory?


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