On Friday 29 February 2008 06:47:04 wolf2k5 wrote:
> On all of them I get the following error messages in the /var/log/messages
> file:
>
> Feb 26 17:14:04 myservername restorecond: Will not restore a file with
> more than one hard link (/etc/resolv.conf) Invalid argument
> Feb 26 19:14:38 myservername restorecond: Will not restore a file with
> more than one hard link (/etc/resolv.conf) Invalid argument
> Feb 27 10:31:16 myservername restorecond: Will not restore a file with
> more than one hard link (/etc/resolv.conf) Invalid argument
>
> Any ideas?

Yes, something is hardlinking to /etc/resolv.conf and restorecon is refusing 
to relabel it. To figure out what it is:

find / -xdev -inum `ls -i /etc/resolv.conf | awk '{ print $1 }'`

You need to break the links to get restorecon working without complaint.

-Steve

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to