Monday, April 30, 2018

Re: NEW: net/frrouting

* 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

ktrace shows me the getcwd(3) call returns permission denied. I am
thoroughly confused as to why

CALL chdir(0x9155366a7d3)
NAMI "/etc/frr/
CALL __getcwd(0x7f7ffffcc6f0,1024)
RET __getcwd -1 errno 13 Permission denied


Pointers appreciated, while I read getcwd(3) & chdir(2) manpages more
carefully than I did the Porting Guide first time around...

Thanks,
Aaron

No comments:

Post a Comment