From owner-freebsd-questions Mon Dec 23 3:20:12 2002 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 9B07837B401 for ; Mon, 23 Dec 2002 03:20:10 -0800 (PST) Received: from sffwd0.suedfactoring.de (port-212-202-224-251.reverse.qsc.de [212.202.224.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4299743EE5 for ; Mon, 23 Dec 2002 03:20:09 -0800 (PST) (envelope-from axel.gruner@suedfactoring.de) Received: from pcs28 (pcs28.SUEDFAC.COM [10.2.1.228]) by sffwd0.suedfactoring.de (8.12.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id gBNAwZRK002334 for ; Mon, 23 Dec 2002 11:58:35 +0100 Date: Mon, 23 Dec 2002 12:19:13 +0100 From: Axel Gruner To: freebsd-questions@FreeBSD.ORG Subject: Jail setup with FreeBSD 5.0 Message-Id: <20021223121913.63514231.axel.gruner@suedfactoring.de> Reply-To: axel.gruner@suedfactoring.de Organization: suedfactoring GmbH X-Mailer: Sylpheed version 0.7.2claws (GTK+ 1.2.10; i686-suse-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message