[OE-core] [PATCH] netbase: Adding loop back for machine name in hosts file
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Fri Aug 1 09:22:15 UTC 2014
Otavio Salvador <otavio-fKevB0iiKLMBZ+LybsDmbA at public.gmane.org> writes:
>>> + echo 127.0.1.1 " "${MACHINE} >> ${D}${sysconfdir}/hosts
>>
>> This is a very questionable setup which causes a lot of harm. When
>> really wanted, it should be made optional and not the default.
>
> What kind of harm you see?
e.g. in sshd_config
| ListenAddress <hostname>
When Fedora had such a setup, I had a lot of trouble with KRB5ized
NFS4. See [1] for examples. Generally, external and internal DNS should
be consistent.
Beside this... afaik ${MACHINE} can contain '_' and '.' which are either
forbidden ('_') or have special meanings in DNS.
Enrico
Footnotes:
[1] https://bugzilla.redhat.com/show_bug.cgi?id=648725
More information about the Openembedded-core
mailing list