[Pkg-sysvinit-devel] Bug#482817: Bug#482817: initscripts: No longer mounts NFS filesystems at startup
Raphael Manfredi
Raphael_Manfredi at pobox.com
Sun May 25 12:29:08 UTC 2008
Quoting Petter Reinholdtsen:
: [Raphael Manfredi]
: > I don't use /etc/network/interfaces on this machine. It uses the
: > old /etc/init.d/network hardwired configuration which says:
:
: Wow. I have never seen such setup, and it will not work with the
: current way NFS mounting is handled. Because of the new behaviuor of
: the linux kernel, where boot events are more asynchronous, and thus
: very hard to predict, it is required to have a way to delay NFS
: mounting until network interfaces are available.
Hmm... I've been using linux 2.6.x for a long time, well before I
installed "initscripts" and the old way was working perfectly fine.
Maybe I was luck as you say, but then it was working. :-)
: > Before you object, let me tell you that I have other machines which
: > use /etc/network/interfaces and where the same problem occurs
: > (i.e. no NFS mounts)!
:
: Do they have equally interesting configuration? The NFS mounting is
: done by ifupdown when the last of the interfaces listed in
: /etc/network/interfaces is up. If you want the old synchronous
: behavour, use ASYNCMOUNTNFS=no in /etc/default/rcS.
No, the other machines use /etc/network/interfaces. However, one of
them has 2 network cards (it's my router / firewall), and they are declared
as:
------------------------------------------------------------------------
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
------------------------------------------------------------------------
:
: How did you manage to install a Debian machine without the initscripts
: package? It is as far as I know, installed by default since before
: Potato. I have never seen a default Debian installation without this
: package, and thus I wonder how you ended up without it.
I installed these machines back in 1998 (it was Debian 2.0 I think).
Since then, I have never performed any "apt-get dist-upgrade", I only
installed packages as I needed them. True, I had a long time ago the
need to create a standalone /lib/init/vars.sh file to be able to let
new packages configure. Funnily, none had a dependency on initscripts.
Recently though, I had to install a foreign .deb (not from Debian)
that required initscripts explicitly. Hence I grabbed it.
And then my problems begun...
I have no ASYNCMOUNTNFS variable in my /etc/default/rcS script.
But I'm reluctant to use this. I would prefer to help you understand
why it does not work here, to benefit everyone. Although I do have
exotic configs on some machines, others are pretty standard and exhibit
the same problems.
Raphael
More information about the Pkg-sysvinit-devel
mailing list