Re: [autofs] [RFC] Towards a Modern Autofs

From: Andi Kleen
Date: Tue Jan 06 2004 - 23:33:02 EST


"H. Peter Anvin" <hpa@xxxxxxxxx> writes:

> A dead daemon is a
> painful recovery, admitted. It is also a THIS SHOULD NOT HAPPEN
> condition. By cramming it into the kernel, you're in fact making the
> system less stable, not more, because the kernel being tainted with
> faulty code is a total system malfunction; a crashed userspace daemon is
> "merely" a messy cleanup. In practice, the autofs daemon/ does not die
> unless a careless system administrator kills it. It is a non-problem.

I personally would be in favour of doing it all in the kernel because
autofs3 and autofs4 are not fully compatible and break in subtle ways
when not matching and in my experience when you have autofs3 compiled
into the kernel the system happens to have an autofs 4 daemon
installed and vice versa. Doing it in the kernel would avoid this
nasty dependency problem.

Also when /home or other important fs are mounted via autofs there is
not much practical difference between a hung kernel and a hung
daemon. You have to reboot the system anyways.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/