From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-51406-garchives=archives.gentoo.org@gentoo.org>)
	id 1GPTDs-0002MY-1J
	for garchives@archives.gentoo.org; Tue, 19 Sep 2006 00:12:24 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8J0BOHs018523;
	Tue, 19 Sep 2006 00:11:24 GMT
Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8J07AlM026484
	for <gentoo-user@lists.gentoo.org>; Tue, 19 Sep 2006 00:07:11 GMT
Received: by wr-out-0506.google.com with SMTP id 67so1495317wri
        for <gentoo-user@lists.gentoo.org>; Mon, 18 Sep 2006 17:07:10 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
        b=PiCfy8CiP0vq3I/Z8DON40LuRQ2mNGYZgkR8CzXu9uQTWESwZ8Wo3vAEGZwUwRk/HTmGOlzt1kI+pO6AbWSKtdfhip9N3Ax6Uyq+zomqL4KfL5VG/XMlL4yl1xMa7npKNJkafrkJ/nGGlKvjdreXlC9RoZnAKOKeLc897YsX67U=
Received: by 10.90.120.13 with SMTP id s13mr5074319agc;
        Mon, 18 Sep 2006 17:07:09 -0700 (PDT)
Received: by 10.90.68.1 with HTTP; Mon, 18 Sep 2006 17:07:09 -0700 (PDT)
Message-ID: <fd8aab850609181707i4545ca76h5be14e005e5d9551@mail.gmail.com>
Date: Mon, 18 Sep 2006 21:07:09 -0300
From: "Claudinei Matos" <claudineimatos@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] nfs and samba doesn't mount at boot
In-Reply-To: <20060918160617.90476.qmail@web33814.mail.mud.yahoo.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_113247_4639123.1158624429077"
References: <200609181018.30972.alan@linuxholdings.co.za>
	 <20060918160617.90476.qmail@web33814.mail.mud.yahoo.com>
X-Archives-Salt: 93fb6cfe-e69c-4cac-b5eb-81e622f611a2
X-Archives-Hash: c12e34ac492a4654ccf7b9440fa72909

------=_Part_113247_4639123.1158624429077
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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
>
>

------=_Part_113247_4639123.1158624429077
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

It looks like an dependency problem on your init scripts.<br>Did you tried to run &quot;depscan.sh&quot;? it should fix init.d dependencies.<br><br>Claudinei Matos<br><br><div><span class="gmail_quote">On 9/18/06, <b class="gmail_sendername">
Pawel K</b> &lt;<a href="mailto:pawlaczus@yahoo.com">pawlaczus@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Run /etc/init.d/net.eth0 and inspect the output<br>&gt; closely,<br><br>Thanx for an answer.<br>Yes I can start /et/init.d/net.eth0 manually. It is<br>also started at boot correctly.<br>It looks like nfsmount is started before 
net.eth0 at<br>boot:<br><br>INIT: Entering runlevel: 3<br>* Starting metalog ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ ok ]<br>* Starting gpm ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ ok ]<br>* Starting portmap ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ ok ]<br>* ERROR:&nbsp;&nbsp;cannot start nfsmount as 
net.eth0 could not<br>start<br>* ERROR:&nbsp;&nbsp;cannot start netmount as net.eth0 could not<br>start<br>* Setting up xdm ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ ok ]<br>* Starting eth0<br>*&nbsp;&nbsp; Configuration not set for eth0 - assuming DHCP<br>
*&nbsp;&nbsp; Bringing up eth0<br>*&nbsp;&nbsp;&nbsp;&nbsp; dhcp<br>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Running dhcpcd ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ ok ]<br>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eth0 received address <a href="http://172.18.129.98/22">172.18.129.98/22</a><br><br>The following sequence of commands works fine:
<br>/etc/init.d/net.eth0 stop<br>/etc/init.d/nfsmount start<br><br>nfsmount also brings up eth0 interface.<br>No error messages are displayed.<br>The depend() of /etc/init.d/nfsmount looks like:<br><br>depend() {<br>&nbsp;&nbsp;need net portmap
<br>&nbsp;&nbsp;use ypbind<br>}<br><br>and net.eth0:<br><br>depend() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;need localmount<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;after bootmisc hostname<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use isapnp isdn pcmcia usb wlan<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Load any custom depend functions for the
<br>given interface<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# For example, br0 may need eth0 and eth1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local iface=&quot;${SVCNAME#*.}&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[ $(type -t &quot;depend_${iface}&quot;) == &quot;function&quot;<br>]] &amp;&amp; depend_${iface}
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[ ${iface} != &quot;lo&quot; &amp;&amp; ${iface} != &quot;lo0&quot; ]] &amp;&amp;<br>after net.lo net.lo0<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 0<br>}<br><br>Do You have any idea what can be wrong ?<br>thank You for help<br>
<br></blockquote></div>

------=_Part_113247_4639123.1158624429077--
-- 
gentoo-user@gentoo.org mailing list