From owner-freebsd-jail@FreeBSD.ORG Mon Nov 1 10:46:55 2010 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 F3A871065670 for ; Mon, 1 Nov 2010 10:46:54 +0000 (UTC) (envelope-from peter@pean.org) Received: from smtprelay-b12.telenor.se (smtprelay-b12.telenor.se [62.127.194.21]) by mx1.freebsd.org (Postfix) with ESMTP id B0D158FC18 for ; Mon, 1 Nov 2010 10:46:54 +0000 (UTC) Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id A7395E96BE for ; Mon, 1 Nov 2010 11:16:00 +0100 (CET) X-SENDER-IP: [85.225.7.221] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQRAMsvzkxV4QfdPGdsb2JhbAAHk1aOBAEBAQE1uyeFRQSKVA X-IronPort-AV: E=Sophos;i="4.58,272,1286143200"; d="scan'208";a="1686565956" Received: from c-dd07e155.166-7-64736c14.cust.bredbandsbolaget.se (HELO [172.25.0.40]) ([85.225.7.221]) by ipb4.telenor.se with ESMTP; 01 Nov 2010 11:16:00 +0100 From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 1 Nov 2010 11:15:58 +0100 Message-Id: <5868FF1A-92B1-4B85-800B-AECD6459DAEE@pean.org> To: freebsd-jail@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: Mutiple ipv4 and ipv6. 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, 01 Nov 2010 10:46:55 -0000 Hi, Im trying to configure a jail with mutiple ipv6 and ipv4-addresses. One = ipv4-address and multiple ipv6 works fine but not multiple of both. I tried a number of different configurations. Having one ipv4 in=20 jail_jailid_ip=3D"" and all other adresses in jail_jailid_ip_multi0=3D"" Having two ipv4 in=20 jail_jaildid_ip=3D"" and ipv6 i the other. Having all adresses in jail_jailid_ip=3D"" Having one ipv4 in jail_jailid_ip=3D"" one ipv4 in jail_jailid_ip_multi0=3D"" and the ipv6-adresses in jail_jailid_ip_multi1=3D"" None of these configurations seems to work for me.=20 Some give me=20 Starting jails: cannot start jail "jailid":=20 . and others: Starting jails:/etc/rc.d/jail: WARNING: jail_extract_address: type not = identified /etc/rc.d/jail: WARNING: jail_extract_address: type not identified cannot start jail "jailid":=20 . The machine running the jails is running FreeBSD 8.0 FreeBSD samurai 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Tue Dec 1 16:10:08 = CET 2009 peter@samurai:/usr/obj/usr/src/sys/GENERIC amd64 -- Peter Ankerst=E5l peter@pean.org http://www.pean.org/ From owner-freebsd-jail@FreeBSD.ORG Mon Nov 1 11:07:00 2010 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 363F1106564A for ; Mon, 1 Nov 2010 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2367D8FC0A for ; Mon, 1 Nov 2010 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA1B709M019214 for ; Mon, 1 Nov 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA1B6xT3019212 for freebsd-jail@FreeBSD.org; Mon, 1 Nov 2010 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Nov 2010 11:06:59 GMT Message-Id: <201011011106.oA1B6xT3019212@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org 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, 01 Nov 2010 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/150599 jail [patch] /etc/rc.d/jail does not set jailname. o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 8 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Nov 1 12:45:08 2010 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 61232106566C for ; Mon, 1 Nov 2010 12:45:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id DB9CF8FC08 for ; Mon, 1 Nov 2010 12:45:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id D9B1241C711; Mon, 1 Nov 2010 13:45:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id qmlWrSnecVeh; Mon, 1 Nov 2010 13:45:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 98AAB41C733; Mon, 1 Nov 2010 13:45:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 4CA344448F3; Mon, 1 Nov 2010 12:44:45 +0000 (UTC) Date: Mon, 1 Nov 2010 12:44:44 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: =?iso-8859-1?Q?Peter_Ankerst=E5l?= In-Reply-To: <5868FF1A-92B1-4B85-800B-AECD6459DAEE@pean.org> Message-ID: <20101101124135.C30195@maildrop.int.zabbadoz.net> References: <5868FF1A-92B1-4B85-800B-AECD6459DAEE@pean.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1189643434-1288615484=:30195" Cc: freebsd-jail@freebsd.org Subject: Re: Mutiple ipv4 and ipv6. 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, 01 Nov 2010 12:45:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1189643434-1288615484=:30195 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 1 Nov 2010, Peter Ankerst=E5l wrote: Hi, > Im trying to configure a jail with mutiple ipv6 and ipv4-addresses. One i= pv4-address and multiple ipv6 > works fine but not multiple of both. =2E.. > and others: > Starting jails:/etc/rc.d/jail: WARNING: jail_extract_address: type not id= entified > /etc/rc.d/jail: WARNING: jail_extract_address: type not identified > cannot start jail "jailid": > . can you give us the complete global and configuration for this jail? It's hard to guess at the moment. Subsitute the domain name for example.com, the IPv4 prefix with 192.0.2. and the IPv6 prefix with 2001:db8: (which are the example/docmentation prefixes) or, if you want, send them to me privately. /bz --=20 Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html --0-1189643434-1288615484=:30195-- From owner-freebsd-jail@FreeBSD.ORG Tue Nov 2 12:40:57 2010 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 93A191065670 for ; Tue, 2 Nov 2010 12:40:57 +0000 (UTC) (envelope-from peter@pean.org) Received: from smtprelay-h21.telenor.se (smtprelay-h21.telenor.se [195.54.99.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4D6E78FC08 for ; Tue, 2 Nov 2010 12:40:56 +0000 (UTC) Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id B1392E92C1 for ; Tue, 2 Nov 2010 13:40:55 +0100 (CET) X-SENDER-IP: [85.225.7.221] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUYAEKjz0xV4QfdOWdsb2JhbAAHh2maAwEBAQEgFcAGhUUEilU X-IronPort-AV: E=Sophos;i="4.58,281,1286143200"; d="scan'208";a="1686815640" Received: from c-dd07e155.166-7-64736c14.cust.bredbandsbolaget.se (HELO [172.25.0.40]) ([85.225.7.221]) by ipb4.telenor.se with ESMTP; 02 Nov 2010 13:40:55 +0100 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= In-Reply-To: <20101101124135.C30195@maildrop.int.zabbadoz.net> Date: Tue, 2 Nov 2010 13:40:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <67AC9118-B90B-4453-A218-C67875F7948A@pean.org> References: <5868FF1A-92B1-4B85-800B-AECD6459DAEE@pean.org> <20101101124135.C30195@maildrop.int.zabbadoz.net> To: Bjoern A. Zeeb X-Mailer: Apple Mail (2.1081) Cc: freebsd-jail@freebsd.org Subject: Re: Mutiple ipv4 and ipv6. 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: Tue, 02 Nov 2010 12:40:57 -0000 On 1 nov 2010, at 13.44, Bjoern A. Zeeb wrote: > On Mon, 1 Nov 2010, Peter Ankerst=E5l wrote: >=20 > Hi, >=20 >> Im trying to configure a jail with mutiple ipv6 and ipv4-addresses. = One ipv4-address and multiple ipv6 >> works fine but not multiple of both. > ... >> and others: >> Starting jails:/etc/rc.d/jail: WARNING: jail_extract_address: type = not identified >> /etc/rc.d/jail: WARNING: jail_extract_address: type not identified >> cannot start jail "jailid": >> . >=20 > can you give us the complete global and configuration for this jail? > It's hard to guess at the moment. >=20 > Subsitute the domain name for example.com, the IPv4 prefix with > 192.0.2. and the IPv6 prefix with 2001:db8: (which are the > example/docmentation prefixes) or, if you want, send them to me > privately. >=20 Everything works now. Must have misplaced a comma or something. Sorry = about that! From owner-freebsd-jail@FreeBSD.ORG Wed Nov 3 07:16:19 2010 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 241411065697 for ; Wed, 3 Nov 2010 07:16:19 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id B7DDE8FC1B for ; Wed, 3 Nov 2010 07:16:18 +0000 (UTC) Received: (qmail 6869 invoked by uid 0); 3 Nov 2010 07:16:17 -0000 Received: from 91.140.60.7 by rms-eu003.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Wed, 03 Nov 2010 07:56:42 +0100 From: "Nikos Vassiliadis" Message-ID: <20101103071615.95100@gmx.com> MIME-Version: 1.0 To: freebsd-jail@freebsd.org X-Authenticated: #46156728 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: BjTnBW5iQEV/CY99qXdpDclCNzg2NcJG Subject: jail_attach does not chdir to new root? 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: Wed, 03 Nov 2010 07:16:19 -0000 Hi, Out of curiosity, why jail_attach() does not chdir() to the new root? It seems like something worth mentioning in jail(2). Thanks, Nikos From owner-freebsd-jail@FreeBSD.ORG Wed Nov 3 17:13:15 2010 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 029341065675 for ; Wed, 3 Nov 2010 17:13:15 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [208.92.232.93]) by mx1.freebsd.org (Postfix) with ESMTP id A44968FC12 for ; Wed, 3 Nov 2010 17:13:14 +0000 (UTC) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.14.3/8.14.3) with ESMTP id oA3Gkmrf025231; Wed, 3 Nov 2010 10:46:48 -0600 (MDT) (envelope-from jamie@FreeBSD.org) Message-ID: <4CD1919D.9010009@FreeBSD.org> Date: Wed, 03 Nov 2010 10:45:17 -0600 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100103 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org References: <20101103071615.95100@gmx.com> In-Reply-To: <20101103071615.95100@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: jail_attach does not chdir to new root? 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: Wed, 03 Nov 2010 17:13:15 -0000 On 11/03/10 00:56, Nikos Vassiliadis wrote: > Out of curiosity, why jail_attach() does not > chdir() to the new root? > > It seems like something worth mentioning in jail(2). I wasn't involved in the early jail stuff, but I'll venture it was because chroot(2) also doesn't chdir to the new root, and jail originally grew out of chroot. The difference is the chroot(2) man page does specifically mention that the current directory isn't changed, and you're right that jail(2) should as well. - Jamie