Description of problem: I was trying to connect to the network using ifup script. Later, I tried the NetworkManager and got these avc: host=notas type=AVC msg=audit(1214953736.277:425): avc: denied { read } for pid=2170 comm="NetworkManager" name="dhclient-eth0.pid" dev=dm-1 ino=86431 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file host=notas type=SYSCALL msg=audit(1214953736.277:425): arch=40000003 syscall=5 success=no exit=-13 a0=9e6fea0 a1=8000 a2=0 a3=8000 items=0 ppid=1 pid=2170 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) host=notas type=AVC msg=audit(1214953736.281:426): avc: denied { read } for pid=21362 comm="dhclient" name="dhclient-eth0.pid" dev=dm-1 ino=86431 scontext=system_u:system_r:dhcpc_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file host=notas type=SYSCALL msg=audit(1214953736.281:426): arch=40000003 syscall=5 success=no exit=-13 a0=bff4cea3 a1=0 a2=1b6 a3=0 items=0 ppid=21361 pid=21362 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) host=notas type=AVC msg=audit(1214953738.17:429): avc: denied { write } for pid=21362 comm="dhclient" name="dhclient-eth0.pid" dev=dm-1 ino=86431 scontext=system_u:system_r:dhcpc_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file host=notas type=SYSCALL msg=audit(1214953738.17:429): arch=40000003 syscall=5 success=no exit=-13 a0=bff4cea3 a1=241 a2=1a4 a3=369f4e items=0 ppid=1 pid=21362 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) Version-Release number of selected component (if applicable): NetworkManager-0.7.0-0.9.4.svn3675.fc9.i386 selinux-policy-3.3.1-72.fc9.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
restorecon -R -v /var/run should fix
Fixed in selinux-policy-3.3.1-75.fc9.noarch I fixed the policy to create the file with the proper context.
Closing all bugs that have been in modified for over a month. Please reopen if the bug is not actually fixed.