From owner-freebsd-questions Thu Jan 2 14:29:23 2003 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 3518437B401 for ; Thu, 2 Jan 2003 14:29:21 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C21043EC2 for ; Thu, 2 Jan 2003 14:29:20 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 65142 invoked from network); 2 Jan 2003 22:29:18 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 2 Jan 2003 22:29:18 -0000 Message-ID: <3E14BD74.6020208@liwing.de> Date: Thu, 02 Jan 2003 23:30:12 +0100 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: axel.gruner@suedfactoring.de Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Jail setup with FreeBSD 5.0 References: <20021223121913.63514231.axel.gruner@suedfactoring.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Axel Gruner wrote: > Hi. > > I am trying to setup a jail in FreeBSD 5.0 RC2. > I found out to use "mount -t devfs / $D/dev" instead of "cd %D/dev; sh > MAKEDEV jail". So, i configured my jail a bit, and wanted to start it > with the command:"jail /jail/ssh testhome 192.168.0.201 /bin/sh /etc/rc" > But the jail is not starting, here the output: > > hw.bus.devctl_disable: 1 -> 1 > Entropy harvesting:sysctl: kern.random.sys.harvest.interrupt: Operation > not perm itted > interruptssysctl: kern.random.sys.harvest.ethernet: Operation not > permitted ethernetsysctl: kern.random.sys.harvest.point_to_point: > Operation not permitted point_to_point. > Fast boot: skipping disk checks. > mount: /: unknown special file or file system > adjkerntz[76259]: sysctl(put_wallclock): Operation not permitted > Doing initial network setup:. > ifconfig: ioctl (SIOCDIFADDR): permission denied > lo0: flags=8049 mtu 16384 > Additional routing options:. > Mounting NFS file systems:. > ELF ldconfig path: /usr/lib /usr/lib/compat > a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout > Starting local daemons:. > Updating motd. > Configuring syscons: keymap blanktime. > Initial i386 initialization:. > Additional ABI support:. > Local package initialization:. > Additional TCP options:. > ln: vga: Operation not permitted > Starting cron. > Starting background file system checks. > Mon Dec 23 12:19:27 CET 2002 > > So after that i mounted also "procfs" (like it is told in jail manpage). > Same result. > > So, how different is it to setup up a jail in FreeBSD 5 compared to > FreeBSD 4.x? Or, where is my mistake? > > Thanks in advance. What's your concrete question? -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message