
Originally Posted by
thedeadbunnymm7
I read somewhere else that you should find the hard-linked file, delete it, restorecon /etc/resolv.conf, then re-create the link.
for example:
$ ls -i /etc/resolv.conf #get inode
7405582 /etc/resolv.conf
$ sudo find /etc -inum 7405582 #find hard link
Password:
/etc/sysconfig/networking/profiles/default/resolv.conf
/etc/resolv.conf
$ sudo /usr/sbin/lsof|grep resolv.conf #make sure it is not open
$ sudo rm /etc/sysconfig/networking/profiles/default/resolv.conf #delete
$ sudo restorecon /etc/resolv.conf
$ sudo ln /etc/resolv.conf /etc/sysconfig/networking/profiles/default/resolv.conf #recreate hard link