From owner-freebsd-stable Sat Jul 7 17: 3:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from host213-123-129-165.btopenworld.com (host213-123-129-165.btopenworld.com [213.123.129.165]) by hub.freebsd.org (Postfix) with ESMTP id 5C60537B401 for ; Sat, 7 Jul 2001 17:03:45 -0700 (PDT) (envelope-from dominic@host213-123-129-165.btopenworld.com) Received: by host213-123-129-165.btopenworld.com (Postfix, from userid 1000) id 2ECD228D; Sun, 8 Jul 2001 01:04:00 +0100 (BST) Date: Sun, 8 Jul 2001 01:04:00 +0100 From: Dominic Marks To: freebsd-stable@freebsd.org Subject: Jail issues with -STABLE Message-ID: <20010708010400.A5653@btinternet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, [ FreeBSD host213-123-129-165.btopenworld.com 4.3-STABLE FreeBSD 4.3-STABLE #2: Sat Jul 7 16:47:57 BST 2001 dominic@host213-123-129-165.btopenworld.com:/usr/obj/usr/src/sys/APOLLO i386 ] I've been attempting to create a jailed environment on my machine for testing purposes, however I seem to have hit some problems. Having followed the instructions laid down in the man page I have successfully created a jailed file structure in /usr/jail which I can get into using: # jail /usr/jail atlas 10.0.0.137 /bin/tcsh Problems start when I attempt to add an alias for my network card. As suggested in the man page I use the following line to setup the alias from inside the jail: # ifconfig vr0 inet alias 10.0.0.137 netmask 255.255.255.255 However this fails with the following return value: ifconfig: ioctl (SIOCAIFADDR): permission denied However I am root inside the jail (observed with id(1)) so I do not fully understand why I would be denied this action. Also dmesg and top do not work, exiting with: kvm_open: short read top: kvm_read for _ccpu: Undefined error: 0 I'm assuming that this is because /kernel inside the jail is linked to /dev/null, but I wanted to make sure that this is normal behaviour... If anyone knows why I can't apply an alias to my card Id really appreciate it. Thanks Dominic Marks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message