From: "Claudinei Matos" <claudineimatos@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] nfs and samba doesn't mount at boot
Date: Mon, 18 Sep 2006 21:07:09 -0300 [thread overview]
Message-ID: <fd8aab850609181707i4545ca76h5be14e005e5d9551@mail.gmail.com> (raw)
In-Reply-To: <20060918160617.90476.qmail@web33814.mail.mud.yahoo.com>
[-- 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 --]
next prev parent reply other threads:[~2006-09-19 0:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-15 15:46 [gentoo-user] nfs and samba doesn't mount at boot Pawel K
2006-09-18 8:18 ` Alan McKinnon
[not found] ` <20060918160617.90476.qmail@web33814.mail.mud.yahoo.com>
2006-09-19 0:07 ` Claudinei Matos [this message]
2006-09-22 11:26 ` Pawel K
2006-09-23 2:15 ` Drew
2006-09-25 15:53 ` Pawel K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fd8aab850609181707i4545ca76h5be14e005e5d9551@mail.gmail.com \
--to=claudineimatos@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox