From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 07:56:04 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 F3C781065673 for ; Tue, 26 Apr 2011 07:56:03 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A0D7A8FC0A for ; Tue, 26 Apr 2011 07:56:03 +0000 (UTC) Received: by iwn33 with SMTP id 33so409233iwn.13 for ; Tue, 26 Apr 2011 00:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=TzzWv2oDIm4WnfUz4yS17aWNmS8fJuifFi30Vs2BF0c=; b=mqj8vbHV+qSbqtyFQ1XD41SSGq11A7e0ih+f03nBwyNJnOSVvWnpKYXbxPRt+850hs /G1gLE0SJNW7TsgjzfS/1u9Eh3sC0mPd9OSaWRUeE7ue+4/pE/GkYzfTgd5qA7wkwQE2 OoKC4uvpv0xa5/FQ70qk0Psq7FoJpdHcxuCsE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=f3MhlYjwzGYFX+M3wy2FOkBZwRTYJpxtOmeK3z4gZdS0EQ8Sm09vC9fME0ITnxSiyy xO+rQBktx9TDKH/gfRhmjt+RriBZ9AcmpAVRwDSi2zPHCC7I9w/Yr6Mnbd5B8brqyndO em2aedqQN4ro93RZyKBlNFvPr0aHtUULVt/tw= Received: by 10.231.123.141 with SMTP id p13mr317156ibr.29.1303804562996; Tue, 26 Apr 2011 00:56:02 -0700 (PDT) Received: from DataIX.net (adsl-99-190-84-116.dsl.klmzmi.sbcglobal.net [99.190.84.116]) by mx.google.com with ESMTPS id o3sm2563465ibd.10.2011.04.26.00.56.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2011 00:56:01 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p3Q7twdg011761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Apr 2011 03:55:59 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p3Q7twuD011760; Tue, 26 Apr 2011 03:55:58 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Tue, 26 Apr 2011 03:55:57 -0400 From: "Jason J. Hellenthal" To: Robert Lorentz Message-ID: <20110426075557.GA10559@DataIX.net> References: <201104260250.p3Q2oAIi039320@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline In-Reply-To: <201104260250.p3Q2oAIi039320@freefall.freebsd.org> X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Tue, 26 Apr 2011 07:56:04 -0000 --1LKvkjL3sHcu1TtY Content-Type: multipart/mixed; boundary="gKMricLos+KVdGMg" Content-Disposition: inline --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Description: message Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Robert, 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. 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. Attached is output from the script with a little more verbosity to show its current status.=20 If the same can still be reproduced on a recent -CURRENT system then so-be-it but otherwise this can be closed. 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. > >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/unl= ink >Date: Mon, 25 Apr 2011 22:19:47 -0400 > > 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 Regards, Jason J. Hellenthal --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Description: results Content-Disposition: attachment; filename="test.txt" Content-Transfer-Encoding: quoted-printable FreeBSD 8.2-STABLE #0 r221008M 185:9e80ad057c04 Mon Apr 25 04:50:24 EDT 201= 1 jhell@DataIX.net:/usr/obj/usr/src/sys/DISBATCH=20 BEFORE /dev/null: empty File: "/dev/null" Size: 0 FileType: Character Device Mode: (0777/crwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ whe= el) Device: 255,83886080 Inode: 12 Links: 1 Access: Tue Apr 26 03:54:21 2011 Modify: Tue Apr 26 03:54:11 2011 Change: Tue Apr 26 03:54:11 2011 crwxrwxrwx 1 root wheel - 0, 12 Apr 26 03:54 /dev/null AFTER /dev/null: empty File: "/dev/null" Size: 0 FileType: Character Device Mode: (0777/crwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ whe= el) Device: 255,83886080 Inode: 12 Links: 1 Access: Tue Apr 26 03:54:21 2011 Modify: Tue Apr 26 03:54:21 2011 Change: Tue Apr 26 03:54:21 2011 crwxrwxrwx 1 root wheel - 0, 12 Apr 26 03:54 /dev/null --gKMricLos+KVdGMg-- --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJNtnqNAAoJEJBXh4mJ2FR+tNwIAIv/5nbR7RModw3/MEocdVmM P4Ygp/O2VC3biql/AO0X4bWRM8vJT+Wy8NURioQOPF51xXz6SRB+nXqJFy1EOSTH b/RpSB3uTWOSaI7yJV1d0ZIY6Fz1XWX5b6tOg7kl2SxSMFSPjovXULpkFZUhX3se D462THtaPCblD4ORJlxY6wzgMX0yRrYJgy2e0GLqlxIy8tCuQUlKITJ9c38q2NKC bMMGQ2NwfaR+yP4oY9A+kFpEZ2uypmrjMhpD+L12ldEDZoS2jN9PMToz+4swwt5R DgLZUMrw+n8yaK6QcuGrM1Kfzs4S+ZdUrHSa9o2Kvcc09TIT5mVgdGZIZMc3QmI= =LdcZ -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--