From owner-freebsd-jail@FreeBSD.ORG Mon Jun 29 14:29:57 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 708B9106566C for ; Mon, 29 Jun 2009 14:29:57 +0000 (UTC) (envelope-from jon@passki.us) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 32CFC8FC08 for ; Mon, 29 Jun 2009 14:29:57 +0000 (UTC) (envelope-from jon@passki.us) Received: by qw-out-2122.google.com with SMTP id 5so681150qwd.7 for ; Mon, 29 Jun 2009 07:29:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.37.77 with SMTP id w13mr760273ibd.3.1246285796168; Mon, 29 Jun 2009 07:29:56 -0700 (PDT) X-Originating-IP: [204.77.49.45] In-Reply-To: <736c47cb0906290721o29875356pddf7eab455324b0@mail.gmail.com> References: <736c47cb0906290422y756a6a74i9029b4d27d2ade34@mail.gmail.com> <20090629112655.R22887@maildrop.int.zabbadoz.net> <736c47cb0906290721o29875356pddf7eab455324b0@mail.gmail.com> Date: Mon, 29 Jun 2009 09:29:56 -0500 Message-ID: From: Jon Passki To: Sam Wun Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Can't login Jailed system X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 14:29:57 -0000 On Mon, Jun 29, 2009 at 9:21 AM, Sam Wun 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__devfs_enable" variables. Jon