From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 16:10:00 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 301D537B401 for ; Sun, 13 Jul 2003 16:10:00 -0700 (PDT) Received: from stupidasses.net (ninja-assassin.com [198.78.65.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id B804D43F3F for ; Sun, 13 Jul 2003 16:09:59 -0700 (PDT) (envelope-from static@ninja-assassin.com) Received: from localhost (inton [198.78.65.149]) by stupidasses.net (Postfix) with ESMTP id 49C6E45209 for ; Sun, 13 Jul 2003 16:04:07 -0700 (PDT) Date: Sun, 13 Jul 2003 16:04:07 -0700 (PDT) From: Static To: questions@freebsd.org In-Reply-To: <44ptke58og.fsf@be-well.ilk.org> Message-ID: <20030713160152.W34378@inton.Ninja-assassin.com> References: <20030711185107.Y98351@inton.Ninja-assassin.com> <44ptke58og.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: bad namelist X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 23:10:00 -0000 On Sun, 13 Jul 2003, Lowell Gilbert wrote: > 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. > For the last couple months I was able to pull ps information out, and it only showed me the processes belonging to my jail. I was also able to run the other commands that come up with bad namelist.