breakmygentoo:~ # ln -sfnv mksh /bin/sh ‘/bin/sh’ -> ‘mksh’ breakmygentoo:~ # /etc/init.d/net.eth0 restart * Bringing down interface eth0 * Stopping dhcpcd on eth0 ... [ ok ] * Bringing up interface eth0 * Starting ifplugd on eth0 ... * start-stop-daemon: /usr/sbin/ifplugd does not exist [ !! ] * WARNING: net.eth0 has started, but is inactive breakmygentoo:~ # ln -sfnv dash /bin/sh ‘/bin/sh’ -> ‘dash’ breakmygentoo:~ # /etc/init.d/net.eth0 restart * Bringing down interface eth0 * Bringing up interface eth0 * dhcpcd ... * Running dhcpcd ... [ ok ] * received address 192.168.1.88/24 [ ok ] breakmygentoo:~ # qlist -CIve ifplugd breakmygentoo:~ # grep -v "^\([[:space:]]*#\|$\)" /etc/conf.d/net modules="iproute2" config_eth0="dhcpcd" dhcpcd_eth0="-q -t 20" breakmygentoo:~ # Neither ifplugd nor netplugd are installed but with mksh netifrc tries to use them anyway.
Created attachment 386012 [details] mksh_netifrc_problem.txt Output of "mksh -x" when running the net.eth0 init script.
CcxCZ asked me in IRC about it. I found the bug in Gentoo. Fix: https://github.com/gentoo/netifrc/pull/1
Committed to Git, not released yet
Fixed in netifrc-0.3.1