From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 00:31:38 2011 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 391731065672 for ; Wed, 27 Apr 2011 00:31:38 +0000 (UTC) (envelope-from robert.lorentz@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id DEBCC8FC16 for ; Wed, 27 Apr 2011 00:31:37 +0000 (UTC) Received: by qwc9 with SMTP id 9so674864qwc.13 for ; Tue, 26 Apr 2011 17:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer; bh=MDINNVWe7s2rMGuwwDPLHMvwI/Kk8dU0HhLXg7US4UU=; b=sBI84QH2ka/c9lTt4EA2j/5rBgaKwTDQhsjkrhnoY3y4FT8dSo65iJfCZlERRzuF+Y J8yAE2BZVAcKQ8qCMcNG25YKVtkPfrUa+ByE0aE80dXOJgiA4XDvWnGbNLWF+Ennv+qw /+OhqH98d1LtqoGz/jAg1aMHF9cLMS8qmBi9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=ab3x9LLZABPyLpqPpgEbZnKYEr2fTSk++SbWZZAIQH3HXbs4EuYEqUSUEPuiMYg1dJ 6lv8kjoibPTvtdklS21Y6LRaflzgtxsQsyTzi0rMmFTOpx0rtnfMNFqBBzCAxqWsjLSc tM/f/Jd2SgcH1g03Dc7+ZVYPfre2L+hFiPXHs= Received: by 10.229.43.76 with SMTP id v12mr1129243qce.178.1303862757167; Tue, 26 Apr 2011 17:05:57 -0700 (PDT) Received: from new-host-2.home (pool-71-191-82-137.washdc.fios.verizon.net [71.191.82.137]) by mx.google.com with ESMTPS id f5sm192650qck.32.2011.04.26.17.05.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2011 17:05:54 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary=Apple-Mail-7--861960826 From: Robert Lorentz In-Reply-To: <20110426075557.GA10559@DataIX.net> Date: Tue, 26 Apr 2011 20:05:53 -0400 Message-Id: References: <201104260250.p3Q2oAIi039320@freefall.freebsd.org> <20110426075557.GA10559@DataIX.net> To: "Jason J. Hellenthal" X-Mailer: Apple Mail (2.1084) Cc: freebsd-bugs@freebsd.org Subject: Re: kern/139014: [null] /dev/null must be immunable to delete/unlink X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 00:31:38 -0000 --Apple-Mail-7--861960826 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Jason - Thanks for responding. Also thanks for your help on freenode #freebsd = (I'm on there as rcl sometimes) I've run your script and this is what I get: --Apple-Mail-7--861960826 Content-Disposition: attachment; filename=results.txt Content-Type: text/plain; name="results.txt" Content-Transfer-Encoding: quoted-printable FreeBSD 9.0-CURRENT #0 r220986: Sun Apr 24 08:25:28 UTC 2011 = root@bsdvm.localdomain:/usr/obj/root/current/current/sys/GENERIC=20 BEFORE /dev/null: empty File: "/dev/null" Size: 0 FileType: Character Device Mode: (0666/crw-rw-rw-) Uid: ( 0/ root) Gid: ( 0/ = wheel) Device: 255,83886080 Inode: 23 Links: 1 Access: Tue Apr 26 20:00:07 2011 Modify: Tue Apr 26 20:00:01 2011 Change: Tue Apr 26 20:00:01 2011 crw-rw-rw- 1 root wheel - 0, 23 Apr 26 20:00 /dev/null AFTER /dev/null: empty File: "/dev/null" Size: 0 FileType: Character Device Mode: (0777/crwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ = wheel) Device: 255,83886080 Inode: 23 Links: 1 Access: Tue Apr 26 20:00:08 2011 Modify: Tue Apr 26 20:00:08 2011 Change: Tue Apr 26 20:00:08 2011 crwxrwxrwx 1 root wheel - 0, 23 Apr 26 20:00 /dev/null --Apple-Mail-7--861960826 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I see no real difference between our results except that my /dev/null = starts as 666 and comes back as 777 and yours is always 777. Again, I'm = not clear on the meaning of this PR - I will abandon and move on. It = does seem that the PR should be either clarified or closed On Apr 26, 2011, at 3:55 AM, Jason J. Hellenthal wrote: >=20 > Robert, >=20 > Sure this could be a good PR to verify but as the condition does not > exist on 8.2-STABLE as of today, I feel that you are just going to be > chasing a ghost in the machine. >=20 > This does not say that it wasn't relevant back then but as of now it = is. > The PR didn't specify any realness to what was seen as I can tell from > reading it over it just says it disappeared and there could be many > possible reasons for that happening that fall back to the user in the > chair. >=20 > Attached is output from the script with a little more verbosity to = show > its current status.=20 >=20 > If the same can still be reproduced on a recent -CURRENT system then > so-be-it but otherwise this can be closed. >=20 > On Tue, Apr 26, 2011 at 02:50:10AM +0000, Robert Lorentz wrote: >> The following reply was made to PR kern/139014; it has been noted by = GNATS. >>=20 >> From: Robert Lorentz >> To: bug-followup@FreeBSD.org, >> fluffy@FreeBSD.org >> Cc: =20 >> Subject: Re: kern/139014: [null] /dev/null must be immunable to = delete/unlink >> Date: Mon, 25 Apr 2011 22:19:47 -0400 >>=20 >> I've just started poking around the PR's to try to learn and help = out, =3D >> and this one looked like a good first try.. >>=20 >> Sure enough, as root on 9.0 -CURRENT I can "rm /dev/null" and it does = =3D >> unlink and is missing. However, I just recreate it with mknod = /dev/null =3D >> c 0 6 .. the behavior is identical on 8.2-RELEASE. >>=20 >> Am I missing something here? Is there some kind of new default = behavior =3D >> that should be implemented here?=3D20=3D >=20 > --=20 >=20 > Regards, > Jason J. Hellenthal >=20 > --Apple-Mail-7--861960826--