avc: denied { write } for pid=5267 comm="dhcpd" name="dhcpd.pid"

Antonio Olivares olivares14031 at yahoo.com
Mon Nov 17 22:22:14 UTC 2008


> /var/run/dhcpd.pid should be dhcpd_var_run_t, not
> var_run_t.
> 
> Try:
> # restorecon -v /var/run /var/run/dhcpd.pid
> 
> Paul.

Tried that several times and now I get : 

Nov 17 16:18:15 localhost kernel: type=1400 audit(1226960295.233:8): avc:  denied  { read write } for  pid=11094 comm="restorecon" path="socket:[12486]" dev=sockfs ino=12486 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket




Thank you very much for helping :)

Regards,


Antonio 


      




More information about the fedora-selinux-list mailing list