View previous topic :: View next topic |
Author |
Message |
dimonb n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2005 Posts: 5
|
Posted: Tue Nov 22, 2005 11:38 am Post subject: [FIXED] net.eth0 and iptables shutdown before netmount |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Tue Nov 22, 2005 6:04 pm Post subject: |
|
|
Moved from Other Things Gentoo _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vincent_bachelier Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/104410457441dc54c5087e5.jpg)
Joined: 26 Sep 2004 Posts: 96
|
Posted: Tue Nov 22, 2005 9:05 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dimonb n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2005 Posts: 5
|
Posted: Thu Nov 24, 2005 6:44 am Post subject: |
|
|
thnx
modifying RC_NET_STRICT_CHECKING solved the problem... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dimonb n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Nov 2005 Posts: 5
|
Posted: Thu Nov 24, 2005 6:48 am Post subject: |
|
|
It's great!
But one thing I could not understand, why script shutdown order is not the same as startup order? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vincent_bachelier Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/104410457441dc54c5087e5.jpg)
Joined: 26 Sep 2004 Posts: 96
|
Posted: Thu Nov 24, 2005 8:30 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|