View previous topic :: View next topic |
Author |
Message |
jf-sebastian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2005 Posts: 3
|
Posted: Fri Oct 06, 2006 6:37 pm Post subject: shutdown problem "cat /var/lib/init.d/exclusive/net.eth |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jf-sebastian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2005 Posts: 3
|
Posted: Sat Oct 07, 2006 9:44 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|