View previous topic :: View next topic |
Author |
Message |
travlr Apprentice
Joined: 20 Apr 2005 Posts: 158 Location: USA
|
Posted: Sun Jun 23, 2013 2:26 pm Post subject: Shutdown Order Problems w/ Diskless Root on AoE [solved] |
|
|
Hi all.
###########
# Question #
###########
How do I change the shutdown order so that shutdown does not hang, due to the diskless nature of a root file system on AoE?
#########
# Details #
#########
I just got my diskless clients working with '/' being mounted over AoE during the boot process.. but now I'm trying to fix the init system's shutdown order.. where the net interface is evidently being shutdown prior to all other services being shutdown which causes the shutdown to hang.
I'm studying the situation atm, but a little help from anyone would certainly be appreciated.
~Peter _________________ ProDataLab.com -- A Focus On Efficiency
Last edited by travlr on Tue Jul 02, 2013 4:02 pm; edited 1 time in total |
|
Back to top |
|
|
travlr Apprentice
Joined: 20 Apr 2005 Posts: 158 Location: USA
|
Posted: Sun Jun 30, 2013 7:11 am Post subject: |
|
|
->bump<-
I haven't addressed this yet.
Anybody care to point in the direction of changing the shutdown runlevel's order.. so that my ethernet interface stays up till the very last moment?
Thank you _________________ ProDataLab.com -- A Focus On Efficiency |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Jul 01, 2013 12:08 am Post subject: |
|
|
You have two options.
Take control over the network entirely out of the hands of the init script
/etc/conf.d/net: | config_eth0="noop" |
or prevent the interface from being stopped:
/etc/conf.d/net: | ifdown_eth0="NO" | See also /usr/share/doc/openrc-*/net.example.bz2 |
|
Back to top |
|
|
travlr Apprentice
Joined: 20 Apr 2005 Posts: 158 Location: USA
|
Posted: Tue Jul 02, 2013 4:01 pm Post subject: |
|
|
chithanh wrote: | You have two options.
Take control over the network entirely out of the hands of the init script
/etc/conf.d/net: | config_eth0="noop" |
or prevent the interface from being stopped:
/etc/conf.d/net: | ifdown_eth0="NO" | See also /usr/share/doc/openrc-*/net.example.bz2 |
Thank you kindly chithanh.
I already had the noop value, but the ifdown_eth0="NO" did the trick. Thanks again. _________________ ProDataLab.com -- A Focus On Efficiency |
|
Back to top |
|
|
|