Re: 2.6.16-rc[12] weirdness

From: Jesper Juhl
Date: Sat Feb 04 2006 - 11:19:44 EST


On 2/4/06, Ben Castricum <lk@xxxxxxxxxxxxxxx> wrote:
> I just want to report a couple of things I think are kernel related (since
> they only occur when I run 2.6.16-rc*) but are too weird to be sure.
>
[snip]
>
> My /dev/null device gets replaced by a file. Some of my cronjobs have a
> >/dev/null and can see the ouput of the scripts in /dev/null. Deleting the
> file and recreating the device again is fixes this. And again.. this seems
> to happen randomly.
>
You are probably building your kernels as root. There's a problem in
kbuild that causes it to replace /dev/null with a regular file on some
systems - it's been fixed but the fix is not yet in mainline.
But, you shouldn't be building kernels as root anyway.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/