Hello, > > > I decided to split interfaces(5) and extracted one interface into > > separate file in interfaces.d/brsys. gdb ifup segfaults...: > > >
...when I have created the above file by copying ../interfaces, and removing unnecessary lines, backup file was left in the interfaces.d/ directory. ~15k calls to strcat() with the same pathname to backup file lead to recursion. Brief look at the source code does not give me any clue how are already opened/visited files recorded during config parsing. Removing the backup file helped. Adding source of the same directory on other hosts helped to reproduce recursion and segfault, actually due to stack overflow indicated by valgrind. -- matej kovac matej.ko...@gmail.com