From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] netbase: Adding loop back for machine name in hosts file
Date: Thu, 31 Jul 2014 19:20:56 -0500 [thread overview]
Message-ID: <53DADD68.8070008@windriver.com> (raw)
In-Reply-To: <CAP9ODKpYgA9jQ2u4Nwh2=+NoQJcZiydtZdkDu0-jvnKfZxHvvg@mail.gmail.com>
On 7/31/14, 3:44 PM, Otavio Salvador wrote:
> On Thu, Jul 31, 2014 at 1:20 PM, Enrico Scholz
> <enrico.scholz@sigma-chemnitz.de> wrote:
>> Sujith H <sujith.h-Re5JQEeQqe8AvxtiuMwx3w@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?
>
> I think moving this to postinst works for me and does not cause
> problems I think.
>
The only default configuration for 127.0.0.1 (not 1.1) should be localhost.
Anything after that is installation independent and should be configured outside
of the 'package' scope...
I recommend ROOTFS_POSTINSTALL_COMMAND...
--Mark
next prev parent reply other threads:[~2014-08-01 0:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-31 14:59 [PATCH] netbase: Adding loop back for machine name in hosts file Sujith H
2014-07-31 15:42 ` Khem Raj
2014-07-31 15:48 ` Mark Hatle
2014-07-31 16:20 ` Enrico Scholz
2014-07-31 20:44 ` Otavio Salvador
2014-08-01 0:20 ` Mark Hatle [this message]
2014-08-01 9:22 ` Enrico Scholz
2014-08-04 13:57 ` sujith h
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53DADD68.8070008@windriver.com \
--to=mark.hatle@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox