View previous topic :: View next topic |
Author |
Message |
thegarbageman n00b
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Thu Oct 10, 2002 6:18 pm Post subject: init script brings eth0 down, but my root is over NFS |
|
|
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 |
|
|
de4d Apprentice
Joined: 12 Sep 2002 Posts: 181 Location: fr. i. br. (ger)
|
Posted: Thu Oct 10, 2002 10:42 pm Post subject: |
|
|
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 |
|
|
squanto Guru
Joined: 20 Apr 2002 Posts: 524 Location: Rochester, NY, USA
|
Posted: Fri Oct 11, 2002 1:38 am Post subject: |
|
|
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 |
|
|
thegarbageman n00b
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Fri Oct 11, 2002 2:53 am Post subject: |
|
|
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 |
|
|
|