use hostname -f for internal hostnames
fixing malformed yum db