From owner-freebsd-jail@FreeBSD.ORG Mon Nov 3 11:06:55 2008 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 24D0E1065675 for ; Mon, 3 Nov 2008 11:06:55 +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 128D18FC2C for ; Mon, 3 Nov 2008 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA3B6sZe010947 for ; Mon, 3 Nov 2008 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA3B6s4i010943 for freebsd-jail@FreeBSD.org; Mon, 3 Nov 2008 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Nov 2008 11:06:54 GMT Message-Id: <200811031106.mA3B6s4i010943@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, 03 Nov 2008 11:06:55 -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 kern/126368 jail [jail] Running ktrace/kdump in jail leads to stale jai o kern/120753 jail [jail] Zombie jails (jailed child process exits while 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 kern/97071 jail [jail] [patch] add security.jail.jid sysctl o kern/89989 jail [jail] [patch] Add option -I (ASCII 73) PID to specif s kern/89528 jail [jail] [patch] impossible to kill a jail o kern/84215 jail [jail] [patch] wildcard ip (INADDR_ANY) should not bin o kern/74314 jail [resolver] [jail] DNS resolver broken under certain ja o kern/72498 jail [libc] [jail] timestamp code on jailed SMP machine gen o kern/68192 jail [quotas] [jail] Cannot use quotas on jailed systems o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 12 problems total. From owner-freebsd-jail@FreeBSD.ORG Thu Nov 6 11:33:50 2008 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 AC8F71065673 for ; Thu, 6 Nov 2008 11:33:50 +0000 (UTC) (envelope-from matheuscucoloto@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by mx1.freebsd.org (Postfix) with ESMTP id 61AA68FC1F for ; Thu, 6 Nov 2008 11:33:50 +0000 (UTC) (envelope-from matheuscucoloto@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so272460ele.13 for ; Thu, 06 Nov 2008 03:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Hye37xRMql3rkjnK2f2R+uRXT72u8De29N1261WQddw=; b=wy09jUzlqque1+ZemwUupE1dYLk5EOc8nYgmqAKTyR9+4n+HBdGURRxQ1u9wBKK8Bq FB+4nMuya/ArRHrLm0RAhQ5vAoL4/vSFaoNI5Gb6nRj790M4Hwr5tVrKaRO0MbbO284d rMwDcYwjANubW/6CvN7NysfjzTaimjkxt9fHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ohC7EW/Va1ZMCPnFIxV3sc88esH0MDiupGAJlyFoBqARXlnFNIj8XwAF0WMO6Ce7hg uNqKevvJFsM3koPBdzUzMMFLOLj0sbT8DVzb2GaT2sMBKYmPEauamc9YCHFc25xH7C5h kLCJazPwAkwP20VK5GkUd0oyRbVZAfJEXnzfc= Received: by 10.65.155.7 with SMTP id h7mr2105686qbo.58.1225969984686; Thu, 06 Nov 2008 03:13:04 -0800 (PST) Received: by 10.65.84.14 with HTTP; Thu, 6 Nov 2008 03:13:04 -0800 (PST) Message-ID: Date: Thu, 6 Nov 2008 09:13:04 -0200 From: "Matheus Cucoloto" To: freebsd-jail@freebsd.org, lopez.on.the.lists@yellowspace.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: Subject: Re: Succesful patch on several hosts with RELENG_7 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: Thu, 06 Nov 2008 11:33:50 -0000 Hi, Lorenzo. I tried to apply this patch, but i had no success. That is the message I got: (On make buidkernel KERNCONF=GENERIC) ----------------------------------------------- cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/netinet/raw_ip.c cc1: warnings being treated as errors /usr/src/sys/netinet/raw_ip.c: In function 'rip_bind': /usr/src/sys/netinet/raw_ip.c:785: warning: implicit declaration of function 'jailed_ip4' /usr/src/sys/netinet/raw_ip.c:785: warning: nested extern declaration of 'jailed_ip4' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ---------------------------------------------------------------- Any hint? # uname -a FreeBSD .cne.grupoirapida.com.br 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Nov 4 17:36:38 UTC 2008 matheus@.cne.grupoirapida.com.br:/usr/obj/usr/src/sys/GENERIC i386 Thank's On Fri, Oct 24, 2008 at 2:07 PM, Lorenzo Perone wrote: > > Hi, > > Just wanted to give my feedback > on Your patch bz_jail7-20080920-01-at150161.diff, which I got > by reading this list, on > > http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff > > Just patched several RELENG_7 hosts (FreeBSD 7.0-PRERELEASE, > last one yesterday), and for the time being, it works like a > charm. THANK YOU VERY MUCH for this patch and Your efforts, > as this is a very important feature for me and for several > others. I hope so much that it will be included into RELENG_7o > fficially, and/or that You will be update it eventually, > if necessary. > > Kudos, Regards && lots of free beer.. > > Lorenzo > > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > -- Matheus Cucoloto System Admin. Net Admin. From owner-freebsd-jail@FreeBSD.ORG Thu Nov 6 11:45:08 2008 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 018031065677 for ; Thu, 6 Nov 2008 11:45:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0B14E8FC2F for ; Thu, 6 Nov 2008 11:45:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 4177B41C730; Thu, 6 Nov 2008 12:45:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id CxDMPEN6EAN1; Thu, 6 Nov 2008 12:45:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id D3A7041C70C; Thu, 6 Nov 2008 12: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 51441444888; Thu, 6 Nov 2008 11:44:51 +0000 (UTC) Date: Thu, 6 Nov 2008 11:44:51 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Matheus Cucoloto In-Reply-To: Message-ID: <20081106114254.E16105@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: Succesful patch on several hosts with RELENG_7 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: Thu, 06 Nov 2008 11:45:08 -0000 On Thu, 6 Nov 2008, Matheus Cucoloto wrote: Hi, > I tried to apply this patch, but i had no success. > > That is the message I got: ... > > Any hint? http://lists.freebsd.org/pipermail/freebsd-jail/2008-October/000577.html So the reason there is no 7 patch is that Robert and I finally found a solution for one of the problems that came up during the review and I still need to implement it. My plan was to do so later today... There will be a new set of patches soon (famous last words;) /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-jail@FreeBSD.ORG Fri Nov 7 17:32:21 2008 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 540DF1065673 for ; Fri, 7 Nov 2008 17:32:21 +0000 (UTC) (envelope-from dez@accid.net) Received: from postville.darq.net (postville.darq.net [82.136.41.65]) by mx1.freebsd.org (Postfix) with ESMTP id 049D88FC23 for ; Fri, 7 Nov 2008 17:32:20 +0000 (UTC) (envelope-from dez@accid.net) Received: from localhost (postville.darq.net [82.136.41.65]) by postville.darq.net (Postfix) with ESMTP id CC7C631536C8 for ; Fri, 7 Nov 2008 17:15:55 +0000 (GMT) X-Virus-Scanned: amavisd-new at darq.net Received: from postville.darq.net ([82.136.41.65]) by localhost (postville.darq.net [82.136.41.65]) (amavisd-new, port 10024) with ESMTP id umBUygEgYAMU for ; Fri, 7 Nov 2008 17:15:54 +0000 (GMT) Received: from troop.darq.net (78-105-7-89.zone3.bethere.co.uk [78.105.7.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dez@accid.net) by postville.darq.net (Postfix) with ESMTPSA id 17A3B3154020 for ; Fri, 7 Nov 2008 17:15:54 +0000 (GMT) Message-ID: <491477C8.2060809@accid.net> Date: Fri, 07 Nov 2008 17:15:52 +0000 From: "dez@accid.net" User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: multi-ip jails on 7.1-BETA2 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: Fri, 07 Nov 2008 17:32:21 -0000 Hi list, I've just setup a 7.1-BETA2 server with Bjoern Zeeb's patch [1], following the instructions described in [2]. It all went well, patch applied ok, userland tools, kernel and world built successfully. However, the new jail utility doesn't accept multiple IPs on the command line: server% jail usage: jail [-i] [-J jid_file] [-s securelevel] \ [-l -u username | -U username] path hostname ip-number command ... Using the same patch and setup instructions I can get a working multi-ip jail setup using 7.1-PRERELEASE-200809 snapshot. Does the said patch not work with the beta? As Bjoern indicated in an earlier mail to the list, "There will be a new set of patches soon". Will they work with the beta and final 7.1 releases? Many thanks. [1] - http://people.freebsd.org/~bz/bz_jail7-20080920-01-at150161.diff [2] - http://www.mail-archive.com/freebsd-jail@freebsd.org/msg00459.html -- Dez From owner-freebsd-jail@FreeBSD.ORG Fri Nov 7 20:35:07 2008 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 E3F051065677 for ; Fri, 7 Nov 2008 20:35:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9EB938FC08 for ; Fri, 7 Nov 2008 20:35:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 91B4441C6A3; Fri, 7 Nov 2008 21:35:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id ENOqAUmfBUZ4; Fri, 7 Nov 2008 21:35:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 4B9B941C69F; Fri, 7 Nov 2008 21:35: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 0FE23444888; Fri, 7 Nov 2008 20:31:17 +0000 (UTC) Date: Fri, 7 Nov 2008 20:31:17 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: "dez@accid.net" In-Reply-To: <491477C8.2060809@accid.net> Message-ID: <20081107203010.U16105@maildrop.int.zabbadoz.net> References: <491477C8.2060809@accid.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: multi-ip jails on 7.1-BETA2 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: Fri, 07 Nov 2008 20:35:08 -0000 On Fri, 7 Nov 2008, dez@accid.net wrote: > server% jail > usage: jail [-i] [-J jid_file] [-s securelevel] \ > [-l -u username | -U username] path hostname ip-number command ... that's not a patched userland (this jail binary is old and was not updated). Did you also rebuild userland or only the kernel? /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.