Re: [PATCH] Console: fall back to /dev/null when no console is availlable

From: Greg KH
Date: Tue Oct 05 2004 - 16:09:02 EST


On Tue, Oct 05, 2004 at 09:27:12PM +0100, Russell King wrote:
> On Tue, Oct 05, 2004 at 08:52:14PM +0200, J?rn Engel wrote:
> > Looks pretty trivial, but opinions on this subject may vary.
> > Comments?
>
> There's a related problem. /sbin/hotplug. I keep seeing odd failures
> from /sbin/hotplug scripts which go away when I ensure that fd0,1,2 are
> directed at something real.

Which scripts cause this problem?

> It's rather annoying because it currently means that, when my PCMCIA net
> interface on the firewall comes up, the IPv4 configuration works fine
> but IPv6 configuration falls dead on its nose without any explaination
> why.
>
> And, like I say, redirecting fd0,1,2 fixes it.

Redirecting it in the script itself? Or in the kernel like this patch?

thanks,

greg k-h
-
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/