From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752261AbZI0W7K (ORCPT ); Sun, 27 Sep 2009 18:59:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751524AbZI0W7J (ORCPT ); Sun, 27 Sep 2009 18:59:09 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:36212 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151AbZI0W7J (ORCPT ); Sun, 27 Sep 2009 18:59:09 -0400 Date: Sun, 27 Sep 2009 15:52:20 -0700 From: Greg KH To: Pavel Machek Cc: Ingo Molnar , Linus Torvalds , Kay Sievers , "Eric W. Biederman" , linux-kernel@vger.kernel.org Subject: Re: [bug] /etc/profile: line 30: /dev/null: Permission denied (Was: Re: [PATCH] Remove broken by design and by implementation devtmpfs maintenance disaster) Message-ID: <20090927225220.GB19076@kroah.com> References: <20090917125759.GA4045@kroah.com> <20090917185306.GA28635@elte.hu> <20090917203113.GA9530@elte.hu> <20090918055843.GB7104@kroah.com> <20090925204925.GA4726@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090925204925.GA4726@elf.ucw.cz> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 25, 2009 at 10:49:26PM +0200, Pavel Machek wrote: > Hi! > > > > > > > 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? > > > > > > > > I don't know if this is what Ingo does, but I have a few machines > > > > where I don't run the distro-supplied 'initrd' at all, because it's > > > > easier to boot without it. The Fedora initrd doesn't allow me to > > > > sanely set root filesystem parameters without totally rewriting the > > > > initrd image, which I'm not interested in, for example (they'll take > > > > effect for the root initrd, not the final root). > > > > > > Correct: i'm booting raw bzImages, with /dev copied to the real /dev. To > > > this box udev is mostly an annoyance that slows down my bootup ;-) > > > > I use non-initrd systems as well, and this option works for me on Gentoo > > and SUSE machines. > > > > As you are using a very old udev, and the boot infrastructure for udev > > in older Fedora releases was a bit "odd" in places, I would recommend > > not using these options on that machine. If we need to reword the > > Kconfig help option to make it a bit more clear, do you have a > > suggestion on what we should change? > > "no regressions" ? It's now resolved, so there are no regressions :) thanks, greg k-h