Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
init script brings eth0 down, but my root is over NFS
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
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Thu Oct 10, 2002 6:18 pm    Post subject: init script brings eth0 down, but my root is over NFS Reply with quote

I have a openmosix cluster where each node mounts "/" over NFS. A problem arises when I try to shutdown/reboot - eth0 is brought down and consequently "/" is unmounted, so /sbin/init is unable to complete the runlevel.

So my question is, how does one disable the "stop" routine from net.eth0 - without breaking other init scripts? Has anyone run into this?
Back to top
View user's profile Send private message
de4d
Apprentice
Apprentice


Joined: 12 Sep 2002
Posts: 181
Location: fr. i. br. (ger)

PostPosted: Thu Oct 10, 2002 10:42 pm    Post subject: Reply with quote

remove or comment out
ifconfig ${IFACE} down &>/dev/null
in /etc/init.d/net.eth0

ok - this is no 'clean' solution (and may not work) but this is what i would try, and i think your NIC shouldnt mind being powered off w/o ifdown
_________________
void main(){fork();main();}
Back to top
View user's profile Send private message
squanto
Guru
Guru


Joined: 20 Apr 2002
Posts: 524
Location: Rochester, NY, USA

PostPosted: Fri Oct 11, 2002 1:38 am    Post subject: Reply with quote

Would it be possible to put /sbin/init onto a ramdisk? Then it would be able to change the runlevel even without having eth0?

Quote:
remove or comment out
ifconfig ${IFACE} down &>/dev/null


Would this leave eth0 still up when the machine powers down?
Back to top
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Fri Oct 11, 2002 2:53 am    Post subject: Reply with quote

squanto wrote:
Would it be possible to put /sbin/init onto a ramdisk?


I'm not sure. I am booting from floppy and mounting my root over NFS, so how would I deliver the ramdrive image? tftp? And is this different from an "initrd" in any way?

I think I'm gonna hit Google. I'll post my findings, if any
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