[Buildroot] [PATCH] package/openresolv: bump to version 3.9.2

Einar Jón tolvupostur at gmail.com
Thu Oct 31 19:48:03 UTC 2019

Hello Peter

On Tue, 29 Oct 2019 at 11:58, Peter Korsgaard <peter at korsgaard.com> wrote:
> >>>>> "Einar" == Einar Jon Gunnarssson <tolvupostur at gmail.com> writes:
>  > From: Einar Jon Gunnarsson <tolvupostur at gmail.com>
>  > Version 3.9.2 strips the trailing comments generated by udhcpc
> What does this mean exactly? I take it you refer to the '# ethX' we add
> to /etc/resolv.conf so we can remove the lines once the interface is
> again down.

Exactly those, and similar lines (if any) in head/tail files.

> Did older openresolv versions not work correctly with this?

Openresolv 3.9.0 and older turned "nameserver # ethX" to
nameserver  #
nameserver ethX
See this email (and the rest of that thread):

> E.G. is this
> something that should be backported to 2019.02.x / 2019.08.x

If this was broken until July this year I don't think many people are using
combo of udhcpc+openresolv, so I doubt that backporting is very urgent.
We need it because we have to use NetworkManager for the modem, but
we don't want NetworkManager for ethX and the rest of the system.
That's probably a pretty unique use-case.

> or is it
> just the new version of openresolv that removes the commit?

See above. The linked mail explains in detail. The new version removes
trailing commits, and plays more nice with udhcpc.
It's just that the older versions would have extra garbage like
"nameserver #" and "nameserver ethX". Not harmful, but not useful,

>   If so, how are those lines cleaned up again?

All versions of openresolv are pretty good at cleaning up what is added.
There is a folder in /var/run that stores all the entries by
and those are deleted when the interface goes down. So that is fine in
all versions.
Run "resolvconf -l" to see a breakdown of all entries by origin.

Best regards,
Einar Jón

> --
> Bye, Peter Korsgaard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191031/e12cb4c3/attachment.html>

More information about the buildroot mailing list