OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: pilotboy72 on January 26, 2023, 07:58:46 pm

Title: BIND won't start after upgrade to 23.1
Post by: pilotboy72 on January 26, 2023, 07:58:46 pm
Hello,


The Bind service (NAMED) will not start after upgrading to 23.1.  Attempting to start the service from the GUI, the screen comes back almost immediately and the service does not start.  There are no logs.


I tried this from the command line (service named start) and I see the following error:

/usr/local/etc/namedb/named.conf:92: /usr/local/lib/named/filter-aaaa.so: plugin check failed: failure
/usr/local/etc/rc.d/named: ERROR: named-checkconf for /usr/local/etc/namedb/named.conf failed



On that line of the file, I see the following:



plugin query "/usr/local/lib/named/filter-aaaa.so" {
                   filter-aaaa-on-v4 yes;
           };

I can remove those three lines and the service starts.

Clicking on Services > Bind > Configuration > Disable IPV6 brings back the problem of the service not starting, but removing (unchecking) it does not fix the problem.

Anyone seen anything similar?
Title: Re: BIND won't start after upgrade to 23.1
Post by: franco on January 26, 2023, 08:10:54 pm
Good lord, I don't really understand why bind/isc devs are trying to break their configuration so hard on upgrades:

https://github.com/opnsense/plugins/commit/7205ea00948f

# opnsense-patch -c plugins 7205ea00948f

(and reapply your configuration)


Cheers,
Franco
Title: Re: BIND won't start after upgrade to 23.1
Post by: pilotboy72 on January 26, 2023, 08:16:59 pm
Good lord, I don't really understand why bind/isc devs are trying to break their configuration so hard on upgrades:

https://github.com/opnsense/plugins/commit/7205ea00948f (https://github.com/opnsense/plugins/commit/7205ea00948f)

# opnsense-patch -c plugins 7205ea00948f

(and reapply your configuration)


Cheers,
Franco


Looks like that fixed it thanks.

Title: Re: BIND won't start after upgrade to 23.1
Post by: franco on January 26, 2023, 08:18:59 pm
Thanks! I'm considering a hotfix, but not before Monday in case something else pops up.


Cheers,
Franco
Title: Re: BIND won't start after upgrade to 23.1
Post by: pilotboy72 on January 26, 2023, 09:00:42 pm
Makes sense.  Not sure how much of the user base uses Bind, but I find it the best way to create and manage my own domain(s).
Title: Re: BIND won't start after upgrade to 23.1
Post by: cookiemonster on January 26, 2023, 09:39:34 pm
I imagine Herr Hausen will be interested.
Title: Re: BIND won't start after upgrade to 23.1
Post by: Patrick M. Hausen on January 26, 2023, 09:43:41 pm
Thanks for the heads up  8)