public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] nfs and samba doesn't mount at boot
       [not found]     ` <20060918160617.90476.qmail@web33814.mail.mud.yahoo.com>
@ 2006-09-19  0:07 99%   ` Claudinei Matos
  0 siblings, 0 replies; 1+ results
From: Claudinei Matos @ 2006-09-19  0:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1857 bytes --]

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 <pawlaczus@yahoo.com> 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
>
>

[-- Attachment #2: Type: text/html, Size: 3297 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-09-18  8:18     [gentoo-user] nfs and samba doesn't mount at boot Alan McKinnon
     [not found]     ` <20060918160617.90476.qmail@web33814.mail.mud.yahoo.com>
2006-09-19  0:07 99%   ` Claudinei Matos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox