Revert unbound to 18.7.7 - not possible?

Started by chemlud, February 15, 2019, 03:15:38 PM

Previous topic - Next topic
Nearly, as the locked unbound 1.8.1 from 19.1.1 will give you on reboot after update to 19.1.4

opnsense: /usr/local/etc/rc.newwanip: The command '/usr/local/sbin/unbound -c '/var/unbound/unbound.conf'' returned exit code '1', the output was 'Shared object "libssl.so.45" not found, required by "unbound"'

...

switch to DNSmasq (don't forget to enter DNS servers in Settings - General, might cost you some time to recognize why your DNS is dead), update unbound from 1.8.1 to 1.8.1 (verson provided by Franco's link above) and back in business...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

LibreSSL was updated in 19.1.2 and so the shared library version mismatches. I'm sorry, but that's exactly what I mean by "frustrating, kinda like every other day".


Cheers,
Franco

Not a big issue, that's why I did the update on Saturday to have some extra time for surprises... ;)
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

April 05, 2019, 12:28:36 PM #63 Last Edit: April 05, 2019, 12:32:19 PM by chemlud
Update on 19.1.5 with unbound 1.9.1: Same problem, trying to revert to unbound 1.8.1

...the unbound 1.8.1 linked above is no longer available..
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

# opnsense-code -f ports tools
# cd /usr/ports/dns/unbound
# git checkout 18.7.6 .
# pkg install -yA gmake libtool automake pkgconf
# make package deinstall install

I can provide a binary if needed, but I'm pretty sure this will work now...

Thank you very much, franco, I'm at

# make package deinstall install
===>   unbound-1.8.1 depends on package: autoconf>=2.69 - found
===>   unbound-1.8.1 depends on package: automake>=1.16.1 - found
===>   unbound-1.8.1 depends on executable: libtoolize - found
===>   unbound-1.8.1 depends on package: pkgconf>=1.3.0_1 - found
===>   unbound-1.8.1 depends on file: /usr/local/lib/libcrypto.so.43 - not found
===>  Installing for libressl-2.7.4
===>  Checking if libressl already installed
===>   libressl-2.7.4 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of libressl
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/libressl
*** Error code 1

Stop.
make: stopped in /usr/ports/dns/unbound


Sorry for that... No hurry, it's only an experimental system at that time.
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

No, did you type "git checkout 18.7.6 ." with the DOT at the end. Important...


Cheers,
Franco

(You have an older tree checked out and that clashes with everything else installed.)

Yepp, I copy&pasted your commands ;-)

Tried again, gives "Updated 0 from path e704d..."

and in the end same error. I'm not a coder, sorry
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

# rm -r /usr/ports

This needs to work... Maybe the tree is stuck although opnsense-code -f should do that as well..

That one did the trick! Pörfect! :-D
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....


Quote from: franco on March 05, 2019, 07:42:22 PM
Someone finally notified Unbound after a bit of prodding ;)

https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4232

Hi franco, is Menco even active on this forum? I found that under "Advanced" in the GUI (last option on page) the logging level of  Unbound can be increased. Did anybody try to get such a log and if not, would it be helpful to the Unbound people for debugging?
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

It certainly would. The way it is now we have a lot of people using advanced options reporting errors here but not to Unbound which doesn't bring us closer to a solution.

I'm happy to provide custom builds of Unbound for patches that they want to try or extra debugging info added...


Cheers,
Franco

... will break my test system by updating to 19.1.6 (unbound unlocked) and post the output here. Or any other method preferred? The log might be quite large in the most verbose mode, I guess....

Who would report the log to unbpund (I have no git account or alike...)?
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....