Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 2/5] main/unbound: don't install root.hints by default

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Mon, 26 Oct 2015 20:54:45 +0100

On Mon, 26 Oct 2015 16:37:15 +0100
Sören Tempel <soeren_at_soeren-tempel.net> wrote:

> On 26.10.15, Natanael Copa wrote:
> > I am sceptic to this. If your only resolver is unbound, how can you
> > then download the root.hints if you don't know what root servers to ask?
>
> Totally get your point, but how do you install unbound if you don't know
> what servers to ask for the .apk file?

You use the unbound package shipped on the iso.

> Nonetheless I believe that it
> would be ok to ship the the root.hints file with the package but we
> don't need ship both the cron and the root.hints file since this will
> create .apk-new files for the file on package upgrade.I think we should
> decide on one of those options for shipping the file...

What is the problem with .apk-new?

I have already explained the problem with excluding it from .apk, so
that is not an option.

The problem with excluding the cron is that the root.hints will not be
kept up-to-date, and we end up need update the unbound apk every time
there is a change in the DNS root hints. We will then need to set up
some script that monitors changes in root dns list and notifies us so
we can update the package each time. The end users will have to
download the entire package each time that happens, even if the
majority of the update (the binary itself) in unmodified.

Now, we have another option, we could move the root.hints to some place
under /var (where it belongs technically), but then will diskless users
need to make sure that this is included in the 'lbu commit'. They would
also need to edit their config to point to new location. (running
update-conf will compare the .apk-new with exisitng config and give
some help in merge in config changes like this) Now, I have 100+ boxes
running that depends on unbound for proper DNS resolution.

Can you please explain for me what the problem with .apk-new is that
would justify the extra work for me to update the config for 100+
boxes, and justify that I break DNS resolution for one of those
boxes. I would pretty much prefer to spend time on getting v3.3 out, or
to try catch up on the long backlog of pending security fixes for the
stable branches.

I suspect the "problem" with .apk-new is small in comparison.

Besides, you can run update-conf and get a nice diff of .apk-new
changes and an interactive option to use/edit/purge the .apk-new.

-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Oct 26 2015 - 20:54:45 GMT