OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: odites999 on January 14, 2018, 04:18:40 pm

Title: [SOLVED] FRR Widget problem
Post by: odites999 on January 14, 2018, 04:18:40 pm
Hi!

I've just upgraded to OPNsense 18.1.r1-amd64. Every thing is working OK except the FRR Service that does not appear in the widget (image attached). However, it's working ok, doing what is supposed to do.

Could you please take a look?


Thanks in advance,
Title: Re: FRR Widget problem
Post by: franco on January 14, 2018, 04:31:10 pm
Hi odites999,

A copy+paste fail indeed, thanks for your report!

Fixed via: https://github.com/opnsense/plugins/commit/7bc1c2088

You can try this by patching your system:

# opnsense-patch -c plugins 7bc1c2088


Cheers,
Franco
Title: Re: FRR Widget problem
Post by: fabian on January 14, 2018, 07:57:38 pm
I am sorry it was my fault. It seems like I forgot about that when I did the migration from quagga. I am sorry for this inconvenience. The patch Franco created will be installed automatically with the next release if you don't patch it by yourself.
Title: Re: FRR Widget problem
Post by: odites999 on January 15, 2018, 08:18:42 am
Thanks for the quick fix. Patch installed and working OK. Great work guys!!


Cheers,
Title: Re: [SOLVED] FRR Widget problem
Post by: odites999 on January 29, 2018, 01:32:53 pm
Hello!

After the 18.1 update, the widget problem has appeared again. FRR is not started at boot.


Cheers,
Title: Re: [SOLVED] FRR Widget problem
Post by: franco on January 29, 2018, 02:36:15 pm
Er... we fixed the service probing, not the startup (if that was indeed an issue it was not handled as such).

"However, it's working ok, doing what is supposed to do." seemed to reinforce that assumption.


Cheers,
Franco
Title: Re: [SOLVED] FRR Widget problem
Post by: odites999 on January 29, 2018, 02:49:47 pm
Yes it does its job, once you have manually started the service, not before. Probably I did not explain it very well. Sorry. In my case, RIP routing is used by TV Service so I must start the service to be able to watch TV.


Cheers,
Title: Re: FRR Widget problem
Post by: franco on January 29, 2018, 03:14:50 pm
Okay, hopefully Fabian can take a look and fix it in the next iteration. Thanks for explaining. :)


Cheers,
Franco
Title: Re: FRR Widget problem
Post by: fabian on January 29, 2018, 07:20:25 pm
@fichtner - the plugin seems to create the correct config because "service frr start" starts it without issues. This means there is probably some trouble with booting the device since it should be started by rc.d.
Title: Re: FRR Widget problem
Post by: odites999 on January 30, 2018, 10:16:06 am
If I can help you to identify the problem, just tell me.
Title: Re: FRR Widget problem
Post by: franco on February 28, 2018, 07:33:34 am
We have a workaround in place... it should hit 18.1.3.

https://github.com/opnsense/plugins/commit/f26a704f9


Cheers,
Franco
Title: Re: FRR Widget problem
Post by: odites999 on February 28, 2018, 08:56:38 am
I have applied the patch (opnsense-patch -c plugins f26a704f9) but the problem is still there... no automatic start of FRR after rebooting the system.


Cheers,
Title: Re: FRR Widget problem
Post by: franco on February 28, 2018, 08:59:57 am
I don't know if it patches ok. Locally it worked. If not it would probably be beneficial if somebody started looking into why the service fails who has a proper setup. I don't believe there is no clever person around to find and fix this over the course of a month.


Cheers,
Franco
Title: Re: FRR Widget problem
Post by: mimugmail on February 28, 2018, 11:23:29 am
The patch is just missing a chmod 755, then it's working ;)

chmod 755 /usr/local/etc/rc.syshook.d/50-frr.start
Title: Re: FRR Widget problem
Post by: franco on February 28, 2018, 03:24:03 pm
chmod in opnsense-patch worked for core, but not for plugins...

https://github.com/opnsense/update/commit/f5f37da5
Title: Re: FRR Widget problem
Post by: odites999 on February 28, 2018, 08:29:44 pm
The problem has been solved. Thanks to everyone.  :)


Cheers!