Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shutdown problem "cat /var/lib/init.d/exclusive/net.eth1"
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
jf-sebastian
n00b
n00b


Joined: 14 Jan 2005
Posts: 3

PostPosted: Fri Oct 06, 2006 6:37 pm    Post subject: shutdown problem "cat /var/lib/init.d/exclusive/net.eth Reply with quote

When i try to reboot or shutdown my System it stops working while trying to stop the net.* services.
I found out, that it's doing a
Code:
cat /var/lib/init.d/exclusive/net.eth1

When i kill this process, everything is fine and the shutdown continues.

This happened after i added a depend part to my /etc/conf.d/net.
My current /etc/conf.d/net:
Code:

modules=( "iproute2" )
config_eth0=("192.168.0.99 netmask 255.255.255.0")
config_eth1=("adsl")

depend_eth1() {
 need dnsmasq
}


I need dnsmasq to be started before a connection to the internet is made.
Is there something wrong with my configuration or what could cause this error?

I'm using
Code:
sys-apps/baselayout-1.12.5-r2


Any help is appreciated. Thanks in advance, Sebastian
Back to top
View user's profile Send private message
jf-sebastian
n00b
n00b


Joined: 14 Jan 2005
Posts: 3

PostPosted: Sat Oct 07, 2006 9:44 am    Post subject: Reply with quote

The problem has changed.

I just rebooted the system and found out, that the config is not working.

When the net.* services are started, lo and eth0 are brought up, but then i get the error, that eth1 could not be started because dnsmasq could not be started.
I guess that's because net is considered to be up after the script has finished, but dnsmasq need's a net service to be up to start, so that it cannot be started in the middle of the script.

Is there a way to start net.eth0 and lo, than dnsmasq and net.eth1 afterwards?
I tried changing RC_NET_STRICT_CHECKING in /etc/conf.d/rc but to no avail.

Any ideas?
Sebastian
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