From: "embedded (VIVAVIS AG)" <embedded@vivavis.com>
To: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: libnss-resolve not automatically installed
Date: Wed, 3 Aug 2022 17:30:08 +0000 [thread overview]
Message-ID: <07e0007095824408bedb92b61019fd9d@vivavis.com> (raw)
Hi,
I'm currently on branch dunfell and using systemd-resolved.
I want to have glibc's NSS resolver functions using systemd-resolved.
I've noticed that the plugin libnss-resolve.so.2 was not in my image
by default.
In systemd_244.5.bb, nss-resolve is in PACKAGECONFIG by default.
libnss-resolve is build and packaged, but not installed by default.
To install the missing library libnss-resolve.so.2, I've added
IMAGE_INSTALL_append = " libnss-resolve"
to my image recipe, but I wonder, if this is the right place or necessary
at all.
My assumption was that having nss-resolve in PACKAGECONFIG will
also install the related library, which is obviously not the case.
Furthermore, I had to write an append-file for base-files, such that
/etc/nsswitch.conf contains the following line
hosts: resolve [!UNAVAIL=return] files dns myhostname
Possibly, I've overlooked something essential.
I'd be very happy, if someone can shed some light on this issue.
Best regards,
Carsten Stelling
next reply other threads:[~2022-08-03 17:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 17:30 embedded (VIVAVIS AG) [this message]
2022-08-04 11:19 ` [yocto] libnss-resolve not automatically installed Khem Raj
2022-08-04 12:35 ` AW: " embedded (VIVAVIS AG)
2022-08-04 13:38 ` Khem Raj
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=07e0007095824408bedb92b61019fd9d@vivavis.com \
--to=embedded@vivavis.com \
--cc=yocto@lists.yoctoproject.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