From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 9 13:00:13 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E40C516A431 for ; Thu, 9 Mar 2006 13:00:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D906343D5E for ; Thu, 9 Mar 2006 13:00:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k29D0CBI022487 for ; Thu, 9 Mar 2006 13:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k29D0CTd022486; Thu, 9 Mar 2006 13:00:12 GMT (envelope-from gnats) Resent-Date: Thu, 9 Mar 2006 13:00:12 GMT Resent-Message-Id: <200603091300.k29D0CTd022486@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anatoli Klassen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F32316A420 for ; Thu, 9 Mar 2006 12:58:18 +0000 (GMT) (envelope-from dev@26th.net) Received: from 26th.net (26th.net [217.79.183.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CA6D43D58 for ; Thu, 9 Mar 2006 12:58:17 +0000 (GMT) (envelope-from dev@26th.net) Received: by 26th.net (Postfix, from userid 1001) id 59E3420C083; Thu, 9 Mar 2006 13:58:16 +0100 (CET) Message-Id: <20060309125816.59E3420C083@26th.net> Date: Thu, 9 Mar 2006 13:58:16 +0100 (CET) From: Anatoli Klassen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/94269: procfs shows wrong data if executable is running from nullfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anatoli Klassen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 13:00:14 -0000 >Number: 94269 >Category: kern >Synopsis: procfs shows wrong data if executable is running from nullfs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 09 13:00:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Anatoli Klassen >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD pluto 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Mar 8 23:08:16 CET 2006 root@pluto:/usr/obj/usr/src/sys/PLUTO i386 >Description: I have a nullfs-mounted dir with some executables and a mounted procfs (under /proc). Now if one of the executables tries to read /proc/curproc/file it got an error or sometimes wrong path. >How-To-Repeat: # mount -t procfs procfs /proc # mount -t nullfs /bin /mnt # /bin/ls -l /proc/curproc/file lr--r--r-- 1 root wheel 0 Mar 9 13:53 /proc/curproc/file -> /bin/ls # /mnt/ls -l /proc/curproc/file lr--r--r-- 1 root wheel 0 Mar 9 13:53 /proc/curproc/file -> unknown The second ls shows wrong info. >Fix: >Release-Note: >Audit-Trail: >Unformatted: