Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 09:29:56 -0500
From:      Jon Passki <jon@passki.us>
To:        Sam Wun <swun2010@gmail.com>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: Can't login Jailed system
Message-ID:  <ece944060906290729q6f15ab3eu16dbbba5ea459de8@mail.gmail.com>
In-Reply-To: <736c47cb0906290721o29875356pddf7eab455324b0@mail.gmail.com>
References:  <736c47cb0906290422y756a6a74i9029b4d27d2ade34@mail.gmail.com> <20090629112655.R22887@maildrop.int.zabbadoz.net> <ece944060906290442u21fdcea3rd88ccea01f6482e3@mail.gmail.com> <736c47cb0906290721o29875356pddf7eab455324b0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 29, 2009 at 9:21 AM, Sam Wun<swun2010@gmail.com> wrote:
> I got the following errors now:
>
> # less jail_wwp1_console.log
> ps: empty file: Invalid argument
> Loading configuration files.
> /etc/rc: WARNING: $hostname is not set -- see rc.conf(5).
> ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
> /usr/local/lib/mysql
> a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
> Creating and/or trimming log files:.
> Starting syslogd.
> Clearing /tmp.
> Starting local daemons:.
> Updating motd.
> Starting sshd.
> PRNG is not seeded
> Starting cron.
> Local package initialization:.
> ps: bad namelist

Assuming you didn't build a kernel to exclude the random device, it
looks like you do not have a /dev filesystem mounted for your jail.
ssh needs some type of random device.  Try mounting a devfs in the
path of your jail.  If you are using /etc/rc.conf for this
information, man 5 rc.conf, look at the "jail_devfs_enable" and
"jail_<jname>_devfs_enable" variables.

Jon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ece944060906290729q6f15ab3eu16dbbba5ea459de8>