When trying to bring down any interface, there is a noise in console, e.g. # /etc/init.d/net.br1 stop * Bringing down interface br1 * Destroying bridge br1 ... [ ok ] RTNETLINK answers: No such file or directory Error talking to the kernel However the interface stops, everything works, but it's nasty installed version: [ebuild R ] net-misc/netifrc-0.5.1::gentoo --- It seems that the cause is in l2tp module (/lib/netifrc/net/l2tp.sh) The error appears when it calls the function "_is_l2tp" (it does it for each interface), but my kernel is built without any support of l2tp.
really, after enabling CONFIG_L2TP_IP in kernel config the error has gone but it's a workaround, I do not need l2tp at all
Same here, with the same workaround, in a handful of systems.
Duplicate, wait for the next release. commit 1e14262524d65918ed6d1d13f2abd87b2f11425b Author: Sergey Popov <admin@pinkbyte.ru> Date: Tue Jan 24 17:10:36 2017 +0300 Check for L2TP support in kernel
Created attachment 475964 [details, diff] Patch to net-misc/netifrc that solves it for me This patch simply redirects the error output from the 'ip l2tp show session' command to avoid the display. The error is just harmless noise and never showed up in /var/log/messages or dmesg, so killing the display should be sufficient.
I just added a patch file. It works for me by putting the file in /etc/portage/patches/net-misc/netifrc and re-emerging netifrc. Note that I tried setting modules_eth0="!l2tp" in my /etc/conf.d/net, but that didn't help, as the network scripts process all modules going down.