OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Unbound service routinely stopping/crashing following 20.7.7 update
« previous next »
  • Print
Pages: 1 ... 3 4 [5] 6 7

Author Topic: Unbound service routinely stopping/crashing following 20.7.7 update  (Read 53550 times)

mimugmail

  • Hero Member
  • *****
  • Posts: 6405
  • Karma: 446
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #60 on: January 01, 2021, 07:55:31 pm »
Just install the patch previously posted here
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

alexroz

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #61 on: January 01, 2021, 07:57:24 pm »
Quote from: potes on January 01, 2021, 07:51:44 pm
Quote from: Sabkor on December 29, 2020, 10:27:34 am

For now, I *think* I've setup a monit test to restart unbound if it crashes. Never used monit before, so we'll see if I did it right...

Hi,

I'm also newbie, and also having the same issue with the unbound service stopping. Where you able to create a monit service to restart unbound when stop? can you share the configuration?

Thank you very much

I'm newbie myself but found this topic in documentatin: https://docs.opnsense.org/manual/monit.html#example-1
« Last Edit: January 01, 2021, 08:00:18 pm by alexroz »
Logged

potes

  • Newbie
  • *
  • Posts: 9
  • Karma: 2
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #62 on: January 01, 2021, 08:11:39 pm »
Quote from: alexroz on January 01, 2021, 07:57:24 pm
Quote from: potes on January 01, 2021, 07:51:44 pm
Quote from: Sabkor on December 29, 2020, 10:27:34 am

For now, I *think* I've setup a monit test to restart unbound if it crashes. Never used monit before, so we'll see if I did it right...

Hi,

I'm also newbie, and also having the same issue with the unbound service stopping. Where you able to create a monit service to restart unbound when stop? can you share the configuration?

Thank you very much

I'm newbie myself but found this topic in documentatin: https://docs.opnsense.org/manual/monit.html#example-1

As I said before i'm newbie (learning with an opnsense at home), and I don't know which ''condition'' should I put to test that unbound is working and for the ''service settings'' which statements to put on ''PID File'', ''Start'' and ''Stop''.

Regarding the patch, i though it was good idea to learn how to use monit to restat a service that stop
« Last Edit: January 01, 2021, 08:15:43 pm by potes »
Logged

deeler

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #63 on: January 02, 2021, 03:48:46 pm »
thanks ; opnsense-revert -r 20.7.6 unbound did the trick for me as well
Logged

MBfromOK

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #64 on: January 02, 2021, 06:21:36 pm »
Please upgrade rather than downgrade :-)

New Unbound version (1.13.0) was released to deal with CVE issues, patch (1.13.0_1) is minor and keeps those improvements:

Quote from: franco on December 21, 2020, 08:50:50 pm
Here's the latest Unbound revision 1 from FreeBSD ports to try:

# pkg add -f https://pkg.opnsense.org/FreeBSD:12:amd64/20.7/misc/unbound-1.13.0_1.txz

Edits: Include version and package information
« Last Edit: January 02, 2021, 06:24:13 pm by MBfromOK »
Logged

Mks

  • Sr. Member
  • ****
  • Posts: 262
  • Karma: 19
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #65 on: January 02, 2021, 06:28:11 pm »
for the record,

I upgraded to 20.7.7_1 last week and immediately applied the patch:

Quote
# pkg add -f https://pkg.opnsense.org/FreeBSD:12:amd64/20.7/misc/unbound-1.13.0_1.txz

No issues identified, everything works.

br
Logged

toxic

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 4
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #66 on: January 03, 2021, 11:44:23 pm »
Same issue here, unbound keeps crashing. I tyed the opnsense-revert thing, we'll see if it holds


Quote from: Sabkor on December 29, 2020, 10:27:34 am
For now, I *think* I've setup a monit test to restart unbound if it crashes. Never used monit before, so we'll see if I did it right...
Meanwhile I tried monit for the first time as well.
I *think* also I got it, but it took me a lot of tries, so for those who might be even more lost than I am, here is what I did in the monit>settings>service settings : add a new service as you can see in the attached picture.

Attached as well, in the monit>status you'll see it has found the proper process id.

I even stopped unbound and it got restarted within the 120 seconds of polling interval.

If you want to make it check faster, it happens on the first settings page, I think that is what would be the polling interval.

Couldn't find a way to get an email notification when the service gets restarted though... At least it restarts ;)
Logged

Tol Phobos

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #67 on: January 03, 2021, 11:45:52 pm »
Just to confirm I am observing this problem on 20.7.7 as well ("notice: sendto failed: Permission denied" 4 times in 4 days). I have reverted unbound to 1.12.0, waiting for a OPNsense fix (via 20.7.7_X or 20.7.8 ).

And YES, I am aware of the CVE-2020-28935, but this vulnerability is *only* CVSS-3 scoring 5.5 as this is *only* a local vulnerability that could create a DoS of the system Unbound/NSD is running on. A very limited security risk in my personal situation.

Thank you and stay safe.
Logged

PeterZaitsev

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #68 on: January 04, 2021, 12:13:37 am »
Unbound crashes for me too.  Have not tried downgrading at this point.

One surprising thing was to see it does not  restart itself - I would imagine for key system services there would be some auto restart process.  Is there not such a thing in opnsense or is it disabled for unbound ?
Logged

Steven

  • Newbie
  • *
  • Posts: 45
  • Karma: 4
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #69 on: January 04, 2021, 03:25:24 am »
Quote from: PeterZaitsev on January 04, 2021, 12:13:37 am
Unbound crashes for me too.  Have not tried downgrading at this point.

One surprising thing was to see it does not  restart itself - I would imagine for key system services there would be some auto restart process.  Is there not such a thing in opnsense or is it disabled for unbound ?

On my system it does restart but after 5 crashes it triggers the HBSD SEGVGUARD which suspends processes for 600s after 5 crashes.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6405
  • Karma: 446
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #70 on: January 04, 2021, 05:56:53 am »
Quote from: PeterZaitsev on January 04, 2021, 12:13:37 am
Unbound crashes for me too.  Have not tried downgrading at this point.

One surprising thing was to see it does not  restart itself - I would imagine for key system services there would be some auto restart process.  Is there not such a thing in opnsense or is it disabled for unbound ?


No, but you can add this via monit
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Spacefish

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #71 on: January 04, 2021, 12:33:44 pm »
affected by this as well.

15min ago someone release a fixed version of the unbound package: https://github.com/mat813/freebsd-ports/commit/95a05e89eda2ed7629addb4a28117e463b69eeb0

could we just get that upgrade via official update repos for OpnSense as fast as possible?
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1018
  • Karma: 69
    • View Profile
Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #72 on: January 04, 2021, 12:42:06 pm »
Looks like you missed the post above - see post #37
Logged

alexroz

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #73 on: January 04, 2021, 12:46:33 pm »
Quote from: PeterZaitsev on January 04, 2021, 12:13:37 am
Unbound crashes for me too.  Have not tried downgrading at this point.

One surprising thing was to see it does not  restart itself - I would imagine for key system services there would be some auto restart process.  Is there not such a thing in opnsense or is it disabled for unbound ?

No service can restart itself by itself when it dead. Only an OS or an another service can do it.
« Last Edit: January 04, 2021, 01:07:01 pm by alexroz »
Logged

citydweller

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #74 on: January 04, 2021, 12:51:09 pm »
Same issue here...
Logged

  • Print
Pages: 1 ... 3 4 [5] 6 7
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Unbound service routinely stopping/crashing following 20.7.7 update
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2