Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[FIXED] net.eth0 and iptables shutdown before netmount
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
dimonb
n00b
n00b


Joined: 22 Nov 2005
Posts: 5

PostPosted: Tue Nov 22, 2005 11:38 am    Post subject: [FIXED] net.eth0 and iptables shutdown before netmount Reply with quote

Hi, everybody!
I have such a problem:
net.eth0 and iptables shutdown before netmount, and therefor unmountin of nfs failed
Another interesting fact is that I have net.eth1 and it stops after netmount!

Any comments will be appreciated


Last edited by dimonb on Thu Nov 24, 2005 6:45 am; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20097

PostPosted: Tue Nov 22, 2005 6:04 pm    Post subject: Reply with quote

Moved from Other Things Gentoo
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
vincent_bachelier
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 96

PostPosted: Tue Nov 22, 2005 9:05 pm    Post subject: Reply with quote

check you RC_NET_STRICT_CHECKING in /etc/conf.d/rc

or you can do:

Code:

depend() {
need net.eth0
}


in the netmount ...

see
_________________
Shaolan Oji
Blog : http://ilwg.blogspot.com [ Gentoo Fan Blog Site ]
Project:
vbwallpapers: http://vbwallpapers.berlios.de [ get random wallpapers for your desktop ]
Back to top
View user's profile Send private message
dimonb
n00b
n00b


Joined: 22 Nov 2005
Posts: 5

PostPosted: Thu Nov 24, 2005 6:44 am    Post subject: Reply with quote

thnx :-)
modifying RC_NET_STRICT_CHECKING solved the problem...
Back to top
View user's profile Send private message
dimonb
n00b
n00b


Joined: 22 Nov 2005
Posts: 5

PostPosted: Thu Nov 24, 2005 6:48 am    Post subject: Reply with quote

It's great!
But one thing I could not understand, why script shutdown order is not the same as startup order?
Back to top
View user's profile Send private message
vincent_bachelier
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 96

PostPosted: Thu Nov 24, 2005 8:30 am    Post subject: Reply with quote

That's depends, the depscan calculate with depend() information under script ...
normally it similary the same, but may change order if he want, but keep dependance stop right ..

well

I want start service like mysql ... with no net dependancy, even I'm not online, I want this db start ...
then I change in rc the variable you know ...

and in script I really want use my connection, I change net in net.eth0 ... then it work fine :d (net mount for example)
_________________
Shaolan Oji
Blog : http://ilwg.blogspot.com [ Gentoo Fan Blog Site ]
Project:
vbwallpapers: http://vbwallpapers.berlios.de [ get random wallpapers for your desktop ]
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