From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 16:05:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC09E37B401 for ; Sun, 13 Jul 2003 16:05:54 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258FC43F85 for ; Sun, 13 Jul 2003 16:05:54 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (rwcrmhc13) with ESMTP id <2003071323055301500s6qeie>; Sun, 13 Jul 2003 23:05:53 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h6DN5qP0079501; Sun, 13 Jul 2003 19:05:52 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h6DN5prM079498; Sun, 13 Jul 2003 19:05:51 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Static References: <20030711185107.Y98351@inton.Ninja-assassin.com> From: Lowell Gilbert Date: 13 Jul 2003 19:05:51 -0400 In-Reply-To: <20030711185107.Y98351@inton.Ninja-assassin.com> Message-ID: <44ptke58og.fsf@be-well.ilk.org> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: bad namelist X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 23:05:55 -0000 Static writes: > I'm running fbsd 4.7 in a jail environment. I am unable to run the > following commands (so far) uptime, w, ps. I get the message 'bad > namelist' I did some googling and found some responses from about 2 > years ago stating incomplete upgrade. This was not the case, there has > been no update. > > %w > w: bad namelist > %w -n > w: bad namelist > %uptime > uptime: bad namelist > %ps > ps: bad namelist > %ps auxwwww > ps: bad namelist > > > FreeBSD inton.Ninja-assassin.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu > Feb 6 22:32:38 PST 2003 > user@jail9.johncompanies.com:/usr/src/sys/compile/47 i386 > > Any suggestions on things to look at? Reboot has not helped. Well, I wouldn't *expect* a jail to be able to pull the process list out of the kernel. It seems like a terrible idea to allow in the first place. I can imagine a carefully limited interface for getting some of that information out, but last I recall (and admittedly that's a pretty rusty memory), those programs dove directly into kernel data structures.