Joined: 07 Jun 2003
|Posted: Sun Dec 01, 2013 6:29 pm Post subject: /etc/init.d/net.eno1: _exists: command not found
after some botched emerge world or two my network refused to start. The problem is that /etc/init.d/net.eno1 doesn't find the _exists shell function and bails out.
The function is in /lib/netifrc/net/ifconfig.sh, but /etc/init.d/net.eno1 does not see it.
It does not see it because it sources all *.sh files in $RC_LIBEXECDIR/net, but $RC_LIBEXECDIR is set to /lib64/rc/, and there's no "net" directory in it.
I have symlinked /lib/netifrc/net manually to /lib64/rc as a stopgap measure, it's working for now, but I wonder what's the reason of this? And what would be a proper fix?
!זה הכי, אחי Gentoo