[OE-core] hostname issues
Andreas Müller
schnitzeltony at googlemail.com
Mon Nov 16 14:14:02 UTC 2015
Hi,
for xfce-session we have some very bad workaround entering machine
name to /etc/hosts [1]
I looked into this and found (let's assume ${MACHINE}='foomachine'):
* basefiles: By default /etc/hostname contains 'foomachine'
* netbase: /etc/hosts contains '127.0.0.1 localhost.localdomain
localhost'
Shouldn't this be
/etc/hosts: '127.0.0.1 foomachine localhost'
or
/etc/hostname: 'localhost.localdomain'
To test do
'ping foomachine'
or
hostname -f
What do experts say?
[1] https://github.com/openembedded/meta-openembedded/blob/master/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb
Regards
Andreas
More information about the Openembedded-core
mailing list