Bug 31728 - unbound 1.17.1 bugfix release
Summary: unbound 1.17.1 bugfix release
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-03-28 15:22 CEST by christian barranco
Modified: 2023-04-15 21:05 CEST (History)
4 users (show)

See Also:
Source RPM: unbound-1.16.3-1.mga8.src.rpm
CVE:
Status comment:


Attachments
Patch to comment out forward zone in /etc/unbound.conf (472 bytes, application/x-patch)
2023-03-31 18:05 CEST, Dave Hodgins
Details

Description christian barranco 2023-03-28 15:22:24 CEST
Hi. Upstream has released a bugfix version: https://github.com/NLnetLabs/unbound/releases/tag/release-1.17.1
Comment 1 christian barranco 2023-03-29 08:05:55 CEST
Ready for QA.

ADVISORY NOTICE PROPOSAL
========================
Bug fix update of the unbound packages


Description
This release fixes a number of bugs. There are also new configuration
options that by default do not change the existing behaviour of Unbound.

References
https://bugs.mageia.org/show_bug.cgi?id=31728
https://github.com/NLnetLabs/unbound/releases/tag/release-1.17.1


SRPMS
8/core
unbound-1.17.1-1.mga8.src.rpm


PROVIDED PACKAGES:

lib64unbound8-1.17.1-1.mga8
lib64unbound-devel-1.17.1-1.mga8
unbound-1.17.1-1.mga8
python3-unbound-1.17.1-1.mga8


    
PACKAGES FOR QA TESTING
=======================
x86_64:

lib64unbound8-1.17.1-1.mga8.x86_64.rpm
lib64unbound-devel-1.17.1-1.mga8.x86_64.rpm
unbound-1.17.1-1.mga8.x86_64.rpm
python3-unbound-1.17.1-1.mga8.x86_64.rpm


i586:

lib64unbound8-1.17.1-1.mga8.i586.rpm
lib64unbound-devel-1.17.1-1.mga8.i586.rpm
unbound-1.17.1-1.mga8.i586.rpm
python3-unbound-1.17.1-1.mga8.i586.rpm

Assignee: chb0 => qa-bugs

Comment 2 Herman Viaene 2023-03-31 17:21:13 CEST
MGA8-64 MATE on Acer Aspire 5253
No installation issues.
Test fails after changing my DNS-setting from my own LAN to 127.0.0.1
$ dig mageia.org

; <<>> DiG 9.11.37Mageia-1.1.mga8 <<>> mageia.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 30718
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mageia.org.			IN	A

;; Query time: 1018 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 31 17:14:07 CEST 2023
;; MSG SIZE  rcvd: 39
Unbound is running
# systemctl -l status unbound
● unbound.service - Unbound DNS Resolver
     Loaded: loaded (/usr/lib/systemd/system/unbound.service; disabled; vendor preset: disabled)
     Active: active (running) since Fri 2023-03-31 17:13:41 CEST; 3s ago
   Main PID: 12714 (unbound)
      Tasks: 1 (limit: 4364)
     Memory: 6.5M
        CPU: 87ms
     CGroup: /system.slice/unbound.service
             └─12714 /usr/sbin/unbound -c /etc/unbound/unbound.conf

Mar 31 17:13:41 mach7.hviaene.thuis systemd[1]: Started Unbound DNS Resolver.
But in reality the network connection is broken.

Having another go after rebooting.

CC: (none) => herman.viaene

Comment 3 Herman Viaene 2023-03-31 17:41:41 CEST
No joy, replacing the DNS-server with 127.0.0.1 breaks the internet connection, not the connection to the gateway.
Comment 4 Dave Hodgins 2023-03-31 18:05:10 CEST
Created attachment 13758 [details]
Patch to comment out forward zone in /etc/unbound.conf

As happened in bug 30743, the forward zone must be commented out in /etc/unbound.conf

CC: (none) => davidwhodgins

Comment 5 Dave Hodgins 2023-03-31 18:31:52 CEST
As this is not a regression, I think there are three choices.

1. We can validate this update as is, but since it's a bugfix update I don't
think we should.

2. Add a recommends for dnscrypt-proxy. If they user chooses not to install
the recommended package, it's up to them to comment the forward zone.

3. Apply the patch from comment 4 so it works out of the box without dns-proxy.
Comment 6 christian barranco 2023-03-31 19:07:31 CEST
(In reply to Dave Hodgins from comment #5)
> As this is not a regression, I think there are three choices.
> 
> 1. We can validate this update as is, but since it's a bugfix update I don't
> think we should.
> 
> 2. Add a recommends for dnscrypt-proxy. If they user chooses not to install
> the recommended package, it's up to them to comment the forward zone.
> 
> 3. Apply the patch from comment 4 so it works out of the box without
> dns-proxy.

I vote for 3b. I mean by that, commenting out the forward zone, with the additional comment to uncomment the block in case of dnscrypt-proxy installation.

What do you think?
Comment 7 Dave Hodgins 2023-03-31 20:29:31 CEST
That would be fine. The comment should go into a README.urpmi file.
Comment 8 christian barranco 2023-03-31 21:22:01 CEST
Hi again. Should the MGA9 package be corrected as well? It has been updated quite some time ago already.
Comment 9 christian barranco 2023-03-31 21:53:29 CEST
Ready for QA.


ADVISORY NOTICE PROPOSAL
========================
Bug fix update of the unbound packages


Description
This release fixes a number of bugs. There are also new configuration
options that by default do not change the existing behaviour of Unbound.

References
https://bugs.mageia.org/show_bug.cgi?id=31728
https://github.com/NLnetLabs/unbound/releases/tag/release-1.17.1


SRPMS
8/core
unbound-1.17.1-2.mga8.src.rpm


PROVIDED PACKAGES:

lib64unbound8-1.17.1-2.mga8
lib64unbound-devel-1.17.1-2.mga8
unbound-1.17.1-2.mga8
python3-unbound-1.17.1-2.mga8


    
PACKAGES FOR QA TESTING
=======================
x86_64:

lib64unbound8-1.17.1-2.mga8.x86_64.rpm
lib64unbound-devel-1.17.1-2.mga8.x86_64.rpm
unbound-1.17.1-2.mga8.x86_64.rpm
python3-unbound-1.17.1-2.mga8.x86_64.rpm


i586:

lib64unbound8-1.17.1-2.mga8.i586.rpm
lib64unbound-devel-1.17.1-2.mga8.i586.rpm
unbound-1.17.1-2.mga8.i586.rpm
python3-unbound-1.17.1-2.mga8.i586.rpm
Comment 10 Dave Hodgins 2023-03-31 23:18:28 CEST
(In reply to christian barranco from comment #8)
> Hi again. Should the MGA9 package be corrected as well? It has been updated
> quite some time ago already.

Yes, the m9 version needs the same fix. Even if it didn't need the fix,
the Release would have needed bumping to ensure it will replace the m8
version

While testing shows m8 is now ok as the readme is available after installing
using rpmdrake and it's working without dnscrypt-proxy, validation should wait
until the m9/cauldron version is in place.

On m8 ...
$ systemctl status unbound.service|grep Active
     Active: active (running) since Fri 2023-03-31 16:54:11 EDT; 14min ago
$ nslookup mageia.org|grep -e ^S -e ^A
Server:         ::1
Address:        ::1#53
Address: 163.172.148.228
Address: 2001:bc8:628:1f00::1

Whiteboard: (none) => MGA8-64-OK

Comment 11 Herman Viaene 2023-04-01 14:46:23 CEST
BTW: the file to be changed is /etc/unbound/unbound.conf, not /etc/unbound.conf as stated in Comment 4.
Works OK now.
$ dig mageia.org

; <<>> DiG 9.11.37Mageia-1.1.mga8 <<>> mageia.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14844
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mageia.org.			IN	A

;; ANSWER SECTION:
mageia.org.		1515	IN	A	163.172.148.228

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Apr 01 14:45:28 CEST 2023
;; MSG SIZE  rcvd: 55
Comment 12 christian barranco 2023-04-01 16:00:50 CEST
(In reply to Herman Viaene from comment #11)
> BTW: the file to be changed is /etc/unbound/unbound.conf, not
> /etc/unbound.conf as stated in Comment 4.
Yes, I have considered that already.

Cauldron is updated. Well, as soon as the freeze move is done.
Comment 13 Chris Denice 2023-04-04 22:28:14 CEST
Why the packager, me has not been put into the loop?

unbound is configured to work with dnsproxy, dnsproxy recommends unbound. Now this is broken :(

CC: (none) => eatdirt

Comment 14 christian barranco 2023-04-07 09:09:03 CEST
Sorry Chris. I just wanted to reflect the MGA9 change into MGA8, which has been left behind. Then a bug was reported, as unbound configuration is currently very specific and linked to dnsproxy.
Unbound doesn't work out of the box. See https://bugs.mageia.org/show_bug.cgi?id=31728#c5

What do you propose? Should the use of dnsproxy be enforced with unbound? If so, some explanations to the users are required.
Comment 15 Chris Denice 2023-04-07 17:51:36 CEST
No that's fine, your README.urpmi is enough for people wanting to configure unbound. I am ok with your changes, I was just not ok with the "method".
When there is a packager, he should be in the loop. So let us ship unbound as it is now.

PS: moreover, the config(noreplace) ensures that previous users will still have a working configuration with dnscrpt-proxy.

Cheers.
Comment 16 Dave Hodgins 2023-04-07 19:11:21 CEST
Validation still on hold as cauldron freeze move still pending.
Comment 17 christian barranco 2023-04-07 20:17:18 CEST
(In reply to Chris Denice from comment #15)
> No that's fine, your README.urpmi is enough for people wanting to configure
> unbound. I am ok with your changes, I was just not ok with the "method".
> When there is a packager, he should be in the loop. So let us ship unbound
> as it is now.
> 
Indeed; apologies.
Comment 18 Dave Hodgins 2023-04-11 16:18:47 CEST
Please request the freeze move again. unbound-1.17.1-2.mga9.src.rpm is still
in updates testing for cauldron.
Comment 19 Dave Hodgins 2023-04-12 16:13:45 CEST
Validating now that freeze move has been completed.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Dave Hodgins 2023-04-15 19:24:47 CEST

Keywords: (none) => advisory

Comment 20 Mageia Robot 2023-04-15 21:05:10 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0032.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.