Monday, April 30, 2018

Re: NEW: net/frrouting

2018-04-30 20:43 GMT+02:00 Aaron A. Glenn <aag@bsd.network>:
> * Stuart Henderson <stu@spacehopper.org> [2018-04-30 12:54]:
>>
>> Same root cause for all, there are just a couple of lines that need to
>> be copied over and tweaked from the quagga port.
>>
>
> I managed to figure out alll that was wrong there, but am now presented
> with something wrong in the actual code base itself.
>
> frr# /usr/local/sbin/isisd
> 2018/04/30 17:35:00 errors: ISIS: Failure to chdir to /etc/frr/, errno: 13
> frr# /usr/local/sbin/bgpd
> 2018/04/30 17:35:02 errors: BGP: Failure to chdir to /etc/frr/, errno: 13
> frr# /usr/local/sbin/ospfd
> 2018/04/30 17:35:03 errors: OSPF: Failure to chdir to /etc/frr/, errno: 13

I had those issues with your port earlier today but only when using
rcctl, not when launching the daemons manually.

$ doas rcctl -d start frr_zebra
doing _rc_parse_conf
doing _rc_quirks
frr_zebra_flags >-f /etc/frr/zebra.conf<
doing _rc_parse_conf /var/run/rc.d/frr_zebra
doing _rc_quirks
doing rc_check
frr_zebra
doing rc_start
doing _rc_wait start
doing rc_check
2018/04/30 22:01:27 errors: ZEBRA: Failure to chdir to /etc/, errno: 13
doing _rc_rm_runfile
(failed)

$ doas /usr/local/sbin/zebra -f /etc/frr/zebra.conf
2018/04/30 22:03:11 errors: ZEBRA: if_ioctl(SIOCGIFMEDIA) failed:
Inappropriate ioctl for device
2018/04/30 22:03:11 errors: ZEBRA: if_ioctl(SIOCGIFMEDIA) failed:
Inappropriate ioctl for device
2018/04/30 22:03:11 errors: ZEBRA: if_ioctl(SIOCGIFMEDIA) failed:
Inappropriate ioctl for device
^Z[1] + Suspended doas /usr/local/sbin/zebra -f /etc/frr/zebra.co

$ ps aux | grep zeb
_frr 7354 0.0 0.1 1832 5156 p2 T 10:03PM 0:00.02
/usr/local/sbin/zebra -f /etc/frr/zebra.conf

(same goes for bgpd, didn't tried the others).

No comments:

Post a Comment