Openembedded Core Discussions
 help / color / mirror / Atom feed
* Why hostname is not in /etc/hosts?
@ 2012-11-28 13:55 Marcin Juszkiewicz
  0 siblings, 0 replies; only message in thread
From: Marcin Juszkiewicz @ 2012-11-28 13:55 UTC (permalink / raw)
  To: openembedded-core

When I start Apache on my target I get this:

AH00557: httpd: apr_sockaddr_info_get() failed for genericarmv8
AH00558: httpd: Could not reliably determine the server's fully
qualified domain name, using 127.0.0.1. Set the 'ServerName' directive
globally to suppress this message

Solution is "echo '127.0.0.1 genericarmv8' >>/etc/hosts" but this is not
what I would like to have to do on each first boot.

I looked more and found that /etc/hostname is set in base-files
(package_arch:machine) while /etc/hosts is in netbase
(package_arch:$arch (while package_arch:all would be enough)).

One solution which comes to my mind is to add $MACHINE entry in netbase
and make it p_arch:$MACHINE.

Other is do that in postinst but this will generate more work as upgrade
paths should not be broken.

Any other ideas?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-28 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28 13:55 Why hostname is not in /etc/hosts? Marcin Juszkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox