[FROG] pathspace for config files

Casey Deccio casey at deccio.net
Wed Aug 20 03:39:27 UTC 2025


> On Aug 13, 2025, at 1:53 PM, Casey Deccio <casey at deccio.net> wrote:
> 
> I'm having trouble getting mgmtd to recognize my -N option for finding my config files:
> 
> $ sudo /usr/lib/frr/mgmtd -N r1 --log-level=debug --log=stdout                                                                 
> 2025/08/13 11:30:17 MGMTD: [T83RR-8SM5G] mgmtd 10.3 starting: vty at 2623                                                                             
> 2025/08/13 11:30:17 MGMTD: [RQT05-4D0H5][EC 100663319] vty_open_config: failed to open configuration file /etc/frr//zebra.conf: No such file or directory, checking backup                                                                                                                            
> 2025/08/13 11:30:17 MGMTD: [VDWX6-W8CNF][EC 100663304] vty_open_config: can't open configuration file [/etc/frr//zebra.conf]                       
> 2025/08/13 11:30:17 MGMTD: [RQT05-4D0H5][EC 100663319] vty_open_config: failed to open configuration file /etc/frr//ripd.conf: No such file or directory, checking backup                                                                                                                             
> 2025/08/13 11:30:17 MGMTD: [VDWX6-W8CNF][EC 100663304] vty_open_config: can't open configuration file [/etc/frr//ripd.conf]                        
> 2025/08/13 11:30:17 MGMTD: [RQT05-4D0H5][EC 100663319] vty_open_config: failed to open configuration file /etc/frr//ripngd.conf: No such file or directory, checking backup                                                                                                                           
> 2025/08/13 11:30:17 MGMTD: [VDWX6-W8CNF][EC 100663304] vty_open_config: can't open configuration file [/etc/frr//ripngd.conf]                      
> 2025/08/13 11:30:17 MGMTD: [RQT05-4D0H5][EC 100663319] vty_open_config: failed to open configuration file /etc/frr//staticd.conf: No such file or directory, checking backup                                                                                                                          
> 2025/08/13 11:30:17 MGMTD: [VDWX6-W8CNF][EC 100663304] vty_open_config: can't open configuration file [/etc/frr//staticd.conf]                     
> 2025/08/13 11:30:17 MGMTD: [RQT05-4D0H5][EC 100663319] vty_open_config: failed to open configuration file /etc/frr//mgmtd.conf: No such file or directory, checking backup                                                                                                                            
> 2025/08/13 11:30:17 MGMTD: [VDWX6-W8CNF][EC 100663304] vty_open_config: can't open configuration file [/etc/frr//mgmtd.conf]                       
> 2025/08/13 11:30:17 MGMTD: [XSARQ-CBJX8] mgmtd: finished reading config files                                                                      
> ^C2025/08/13 11:32:03 MGMTD: [J2RAS-MZ95C] Terminating on signal                                


Based on everything I've seen and tried, I'm pretty sure this is just buggy behavior.

Looks like an alternate (possibly preferred?) way to go about this is to use VRFs instead.  More on that in another thread...

Casey


More information about the frog mailing list