Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shutdown Order Problems w/ Diskless Root on AoE [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
travlr
Apprentice
Apprentice


Joined: 20 Apr 2005
Posts: 158
Location: USA

PostPosted: Sun Jun 23, 2013 2:26 pm    Post subject: Shutdown Order Problems w/ Diskless Root on AoE [solved] Reply with quote

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
View user's profile Send private message
travlr
Apprentice
Apprentice


Joined: 20 Apr 2005
Posts: 158
Location: USA

PostPosted: Sun Jun 30, 2013 7:11 am    Post subject: Reply with quote

->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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Mon Jul 01, 2013 12:08 am    Post subject: Reply with quote

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
View user's profile Send private message
travlr
Apprentice
Apprentice


Joined: 20 Apr 2005
Posts: 158
Location: USA

PostPosted: Tue Jul 02, 2013 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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