[OE-core] [PATCH 3/4] systemd: add myhostname to nsswitch.conf

Dan McGregor danismostlikely at gmail.com
Thu Dec 10 18:33:46 UTC 2015


On 7 Dec 2015 1:49 p.m., "Christopher Larson" <kergoth at gmail.com> wrote:
>
>
> On Tue, Nov 17, 2015 at 8:49 PM, Dan McGregor <danismostlikely at gmail.com>
wrote:
>>
>> On 12 Nov 2015 5:41 p.m., "Christopher Larson" <kergoth at gmail.com> wrote:
>> >
>> > From: Christopher Larson <chris_larson at mentor.com>
>> >
>> > We don't need nss-myhostname on systemd systems, because systemd
already
>> > provides myhostname, but we weren't configuring nsswitch to use it.
Being able
>> > to resolve the hostname is useful for a number of different
applications, so
>> > enable it using the same postinst/prerm bits which are in
nss-myhostname.
>>
>> I have this and a similar change for resolved in an append at work.
Would others be interested in that too?
>
>
> I'm sure there are folks that would find that interesting. I'm sure not
everyone uses resolved, but I'm sure we want it to work well for folks taht
do want to use it.
>

Cool. I'll post my change. nss_resolve can be used unconditionally if it's
there. If resolved isn't running it falls back to nss_dns.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151210/5331a58c/attachment-0002.html>


More information about the Openembedded-core mailing list