bad namelist

Static static at ninja-assassin.com
Sun Jul 13 16:10:00 PDT 2003




On Sun, 13 Jul 2003, Lowell Gilbert wrote:

> Static <static at ninja-assassin.com> 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 at 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.


More information about the freebsd-questions mailing list