Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/init.d/net.eno1: _exists: command not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 376

PostPosted: Sun Dec 01, 2013 6:29 pm    Post subject: /etc/init.d/net.eno1: _exists: command not found Reply with quote

Hi all,

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum