From owner-freebsd-jail@FreeBSD.ORG Mon Jun 29 14:37:30 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 4023C106567D for ; Mon, 29 Jun 2009 14:37:30 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: from mail-pz0-f197.google.com (mail-pz0-f197.google.com [209.85.222.197]) by mx1.freebsd.org (Postfix) with ESMTP id 126898FC19 for ; Mon, 29 Jun 2009 14:37:30 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: by pzk35 with SMTP id 35so164438pzk.3 for ; Mon, 29 Jun 2009 07:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=V+O7y1xonh4FL2BuMLaTthedtO4gOf66XLnKsRNecIE=; b=XHi1DUjZ75WqdNqC75JX35BxKxQbPgGZz04+8WZ7r+y/DUJsgD+bXgnxEzU5ImEC+f IVpAcGrMgLieo0WGZ1sxuKWg0hyD4XsdNSqPEMKWuGmFkneLCOTJtwyxfPo2w8Db/Hta Bs+U3NZMcNwf38b0cQzjcf2zxJOU6KFZdpvi8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xWoljhdEHxhNQsOzjjFB170lVNFEPMw5liurKFWzWRJJQVB44ZyTXoLfc1qvqv90/x 1KGGTgSE4/d7C+syIWKuFdh45WaO0Gxam6HbWppAQRpOZfIGJdy7eeT1V/p5dOCoQiUz Zj1aKKGsSsXetkHaABlWStdplBUWDw8KFX8mM= MIME-Version: 1.0 Received: by 10.143.13.17 with SMTP id q17mr73539wfi.118.1246286249839; Mon, 29 Jun 2009 07:37:29 -0700 (PDT) In-Reply-To: References: <736c47cb0906290422y756a6a74i9029b4d27d2ade34@mail.gmail.com> <20090629112655.R22887@maildrop.int.zabbadoz.net> <736c47cb0906290721o29875356pddf7eab455324b0@mail.gmail.com> Date: Tue, 30 Jun 2009 00:37:29 +1000 Message-ID: <736c47cb0906290737g34390ab8l8d86e437cbf9f833@mail.gmail.com> From: Sam Wun To: Jon Passki Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:37:30 -0000 Apologies, I accidentally commented out the jail_dev and jail_proc liens in the rc.conf file, wasted everyone s time. Thanks for the help. :D Sam On Tue, Jun 30, 2009 at 12:29 AM, Jon Passki wrote: > 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. =A0Try mounting a devfs in the > path of your jail. =A0If 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 >