Re: Hosts file access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/22/2014 06:35 PM, Emmett Culley wrote:
I am continually getting getattr and read AVC errors.  From my research, I believe it is because my hosts file gets modified each time I VPN into my work network.

I cause the host names and IP addresses that are part of the internal work network to be appended to the hosts file upon the VPN connection and then restore the original hosts file upon disconnection.

I have tried restorecon /etc/hosts, but I  still get the warnings. I have also done the mypol fixes suggested in the troubleshooting dialog's details page.  Nothing I do resolves this issue.

How can I prevent these AVC errors?  Or at least properly modify my hosts file (and possibly others) the SELinux way?

Emmett
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux
What AVC message are you getting?

What OS?

Regards,
Miroslav
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux