Re: [bug] /etc/profile: line 30: /dev/null: Permission denied (Was: Re: [PATCH] Remove broken by design and by implementation devtmpfs maintenance disaster)

From: Kay Sievers
Date: Thu Sep 17 2009 - 15:27:51 EST


On Thu, Sep 17, 2009 at 20:53, Ingo Molnar <mingo@xxxxxxx> wrote:
> I've reproduced a bug with the following .config options:
>
> ÂCONFIG_DEVTMPFS=y
> ÂCONFIG_DEVTMPFS_MOUNT=y
>
> /dev/null and /dev/zero are not read/writable to ordinary users,
> breaking normal bootup and login:

Udev should run long before some ordinary/non-root user can login, and
apply the permissions as it always does. It's known to work on Fedora,
SUSE, Ubuntu. What kind of system/environment/setup is that where you
see this?

Kay
--
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/