All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Remmet <J.Remmet@phytec.de>
To: "Paul D. DeRocco" <pderocco@ix.netcom.com>
Cc: yocto@yoctoproject.org
Subject: Re: Missing /etc/resolv.conf
Date: Mon, 16 Oct 2017 16:06:11 +0200	[thread overview]
Message-ID: <20171016140610.GA3057@lws-weitzel2@phytec.de> (raw)
In-Reply-To: <409F491A08EE44CEBD7605A8195E3C6D@PAULD>

On Sat, Oct 07, 2017 at 12:30:10AM -0700, Paul D. DeRocco wrote:
> (Yocto Pyro, using systemd configured with resolved, networkd, timedated,
> timesyncd)
> 
> /etc/resolv.conf is supposed to be symlinked to
> /run/systemd/resolve/resolv.conf, which gets updated with the DNS address
> received from DHCP, but it's not. Looking through systemd_232.bb, I see
> that do_install() uses sed to edit /usr/lib/tmpfiles.d/etc.conf to set up
> this link. When I run the system, I see that etc.conf does indeed have

I'm missing it too. systemd RDEPENDS on volatile-binds which creates
ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/etc.conf

so /usr/lib/tmpfiles.d/etc.conf is ignored. I'm not sure where the link
should be created.

Jan

> this edited line, but there is no /etc/resolv.conf.
> systemd-tmpfiles-setup.service runs successfully. Isn't that what's
> supposed to execute all the junk in /usr/lib/tmpfiles.d? All the
> abovementioned servers are running.
> 
> Am I missing something?
> 
> -- 
> 
> Ciao,               Paul D. DeRocco
> Paul                mailto:pderocco@ix.netcom.com
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


      reply	other threads:[~2017-10-16 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-07  7:30 Missing /etc/resolv.conf Paul D. DeRocco
2017-10-16 14:06 ` Jan Remmet [this message]

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=20171016140610.GA3057@lws-weitzel2@phytec.de \
    --to=j.remmet@phytec.de \
    --cc=pderocco@ix.netcom.com \
    --cc=yocto@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.