[Pkg-utopia-maintainers] Bug#674039: mount -a still required

Chr.v.Stuckrad stucki-spam at t-online.de
Fri Oct 19 16:50:11 UTC 2012


Hi!

We use a current 'wheezy' with sysvinit Version: 2.88dsf-32

We run into the 'same situation' by having two or more
network cards active in cluster machines (one to the
world, one inside the cluster for speed).

First 'inet' network comes up and eth0 goes through mountnfs
but does not mount because the second eth1 is not yet up.
Other 'inet' devices are never seen by mountnfs, because
the 'post-up' is run with IFACE='--all' ADDRFAM='meta'.

I can expand the test for 'inet' and 'inet6' by allowing
also for 'meta' (and just to be on the safe side checking
IFACE for '--all' which I assume to be always the last one).

Then function 'exit_unless_last_interface' exits, because the
interfaces, which are brought up by '--all', are never noted
in /etc/network/run/ifstate.

So I wrapped another check for '--all' around the loop there
and now i get my nfs-mounts back as they were.

BUT I really would like to know, what I break by ignoring
the check whether all interfaces are up, and why the
working interface eth1 never is put into the ifstate ???

Yours Stucki  (cluster-admin trying to create a filesystem
shared via nfs by the whole cluster on a local network)

PS.: If needed I will provide patches, but the above tests
are just three trivial lines to add.



More information about the Pkg-utopia-maintainers mailing list