Am 16.09.2011 21:34, schrieb Stephen Smalley:

# restorecon -v /etc/resolv.conf
restorecon set context /etc/resolv.conf->system_u:object_r:net_conf_t:s0
failed:'Operation not permitted'

id
lsattr /etc/resolv.conf


Ok, resolv.conf is set to immutable.
# lsattr /etc/resolv.conf
----i-------- /etc/resolv.conf

The host is set to use dhcp. I guess while installing the system - the dns config was manually set. To prevent dhcpd overwriting resolv.conf it was set to immutable?

chattr -i /e    tc/resolv.conf
solves it.

Thx
Rainer

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

Reply via email to