It looks like an dependency problem on your init scripts.
Did you tried to run "depscan.sh"? it should fix init.d dependencies.

Claudinei Matos

On 9/18/06, Pawel K <[EMAIL PROTECTED]> wrote:
> Run /etc/init.d/net.eth0 and inspect the output
> closely,

Thanx for an answer.
Yes I can start /et/init.d/net.eth0 manually. It is
also started at boot correctly.
It looks like nfsmount is started before net.eth0 at
boot:

INIT: Entering runlevel: 3
* Starting metalog ...
                  [ ok ]
* Starting gpm ...
                  [ ok ]
* Starting portmap ...
                  [ ok ]
* ERROR:  cannot start nfsmount as net.eth0 could not
start
* ERROR:  cannot start netmount as net.eth0 could not
start
* Setting up xdm ...
                  [ ok ]
* Starting eth0
*   Configuration not set for eth0 - assuming DHCP
*   Bringing up eth0
*     dhcp
*       Running dhcpcd ...
                  [ ok ]
*       eth0 received address 172.18.129.98/22

The following sequence of commands works fine:
/etc/init.d/net.eth0 stop
/etc/init.d/nfsmount start

nfsmount also brings up eth0 interface.
No error messages are displayed.
The depend() of /etc/init.d/nfsmount looks like:

depend() {
  need net portmap
  use ypbind
}

and net.eth0:

depend() {
        need localmount
        after bootmisc hostname
        use isapnp isdn pcmcia usb wlan

        # Load any custom depend functions for the
given interface
        # For example, br0 may need eth0 and eth1
        local iface="${SVCNAME#*.}"
        [[ $(type -t "depend_${iface}") == "function"
]] && depend_${iface}
        [[ ${iface} != "lo" && ${iface} != "lo0" ]] &&
after net.lo net.lo0

        return 0
}

Do You have any idea what can be wrong ?
thank You for help

Reply via email to