From: Manfred Hollstein (manfred_at_die-hollsteins.de)
Date: Tue Jan 02 2007 - 22:04:27 CET
Date: Tue, 2 Jan 2007 22:04:27 +0100 From: Manfred Hollstein <manfred@die-hollsteins.de> Message-ID: <20070102210427.GC8181@saturn.hollstein.homelinux.org> Subject: Re: [suse-sles-e] chkconfig boot.local always returns off
On Tue, 02 Jan 2007, 20:26:18 +0100, C'est Pierre wrote:
> [...]
> Thank you all,
>
> I get it, however, my script looks like this:
>
> /bin/mount -a
> echo 1 > /proc/sys/vm/disable_cap_mlock # (Yes, I know I could do this from
> /etc/sysctl.conf ;-)
>
>
> But none of the NFS filesystems get mounted during boot.
> Any ideas why?
Yep. That's because the network hasn't been initialized at this stage.
"boot.local" is *just* for _local_ services, ie. those that don't rely
on the network etc. You should instead activate the "nfs" service (e.g.
using chkconfig or insserv) and off you go; here's the description of
the service (taken from /etc/init.d/nfs):
### BEGIN INIT INFO
# Provides: nfs
# Required-Start: $network $portmap
# Required-Stop:
# Default-Start: 3 5
# Default-Stop:
# Description: Imports remote Network File Systems (NFS)
### END INIT INFO
When you look at the script and see what it does, you'll see it'll just
mount the NFS file systems.
> The server runs at run-level 3, BTW.
>
> Thanks
HTH, cheers.
l8er
manfred
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com
This archive was generated by hypermail 2.1.7 : Wed Jan 03 2007 - 00:08:42 CET