NetBSD Problem Report #32661
From yamt@mwd.biglobe.ne.jp Sun Jan 29 08:48:00 2006
Return-Path: <yamt@mwd.biglobe.ne.jp>
Received: from yamt.dyndns.org (FLA1Aaq096.kng.mesh.ad.jp [218.227.227.96])
by narn.netbsd.org (Postfix) with ESMTP id 2FF4263B90C
for <gnats-bugs@gnats.NetBSD.org>; Sun, 29 Jan 2006 08:48:00 +0000 (UTC)
Message-Id: <1138524451.544575.1561.nullmailer@yamt.dyndns.org>
Date: Sun, 29 Jan 2006 17:47:31 +0900
From: yamt@mwd.biglobe.ne.jp
Reply-To: yamt@mwd.biglobe.ne.jp
To: gnats-bugs@netbsd.org
Subject: scaring message "chrooted pid ... detected outside of its chroot"
X-Send-Pr-Version: 3.95
>Number: 32661
>Category: kern
>Synopsis: scaring message "chrooted pid ... detected outside of its chroot"
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 29 08:50:00 +0000 2006
>Closed-Date: Mon Jun 13 00:10:45 +0000 2011
>Last-Modified: Wed Aug 10 00:15:02 +0000 2011
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 3.99.15
>Organization:
>Environment:
System: NetBSD kaeru 3.99.15 NetBSD 3.99.15 (build.kaeru.xen.nodebug) #: Tue Jan 24 07:52:10 JST 2006 takashi@kaeru:/home/takashi/work/kernel/build.kaeru.xen.nodebug i386
Architecture: i386
Machine: i386
>Description:
as vn_isunder returns false on any errors,
the following sequence shows the scaring message,
"chrooted pid ... detected outside of its chroot".
# chroot somewhere
# mkdir t
# cd t
# rmdir ../t
# cd ..
>How-To-Repeat:
>Fix:
tweak the message?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 13 Jun 2011 00:10:45 +0000
State-Changed-Why:
Duplicate of 44568.
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org,
gnats-admin@netbsd.org, dholland@NetBSD.org
Subject: Re: kern/32661 (scaring message
"chrooted pid ... detected outside of its chroot")
Date: Mon, 13 Jun 2011 01:07:18 +0000 (UTC)
hi,
> Synopsis: scaring message "chrooted pid ... detected outside of its chroot"
>
> State-Changed-From-To: open->closed
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Mon, 13 Jun 2011 00:10:45 +0000
> State-Changed-Why:
> Duplicate of 44568.
it seems irrelevant. wrong PR number?
YAMAMOTO Takashi
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/32661 (scaring message "chrooted pid ... detected outside
of its chroot")
Date: Mon, 13 Jun 2011 04:12:04 +0000
On Mon, Jun 13, 2011 at 01:10:05AM +0000, YAMAMOTO Takashi wrote:
> > Duplicate of 44568.
>
> it seems irrelevant. wrong PR number?
Yeah, should have been 44658. :(
--
David A. Holland
dholland@netbsd.org
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/32661 CVS commit: src/sys/kern
Date: Tue, 9 Aug 2011 23:46:06 +0000
Module Name: src
Committed By: dholland
Date: Tue Aug 9 23:46:05 UTC 2011
Modified Files:
src/sys/kern: vfs_lookup.c
Log Message:
Fail namei immediately if searchdir is unlinked / has been rmdir'd.
Do this by checking if v_size == 0. Should fix PR 44658 (and PR 32661).
To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/kern/vfs_lookup.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: PR/32661 CVS commit: src/sys/kern
Date: Wed, 10 Aug 2011 00:10:35 +0000
On Tue, Aug 09, 2011 at 11:50:09PM +0000, David A. Holland wrote:
> Fail namei immediately if searchdir is unlinked / has been rmdir'd.
> Do this by checking if v_size == 0. Should fix PR 44658 (and PR 32661).
This should now be fixed; please give it a try.
--
David A. Holland
dholland@netbsd.org
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.