From owner-freebsd-jail@FreeBSD.ORG Sun Jun 9 02:32:18 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D52F27FC for ; Sun, 9 Jun 2013 02:32:18 +0000 (UTC) (envelope-from kentas@hush.com) Received: from smtp1.hushmail.com (smtp1a.hushmail.com [65.39.178.236]) by mx1.freebsd.org (Postfix) with ESMTP id BF423178F for ; Sun, 9 Jun 2013 02:32:18 +0000 (UTC) Received: from smtp1.hushmail.com (smtp1a.hushmail.com [65.39.178.236]) by smtp1.hushmail.com (Postfix) with SMTP id 7160530B06 for ; Sun, 9 Jun 2013 02:32:12 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp1.hushmail.com (Postfix) with ESMTP; Sun, 9 Jun 2013 02:32:11 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id D8E42200EA; Sun, 9 Jun 2013 02:32:11 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 08 Jun 2013 22:32:11 -0400 To: freebsd-jail@freebsd.org Subject: Per-IP Bandwidth Monitoring From: "Kenta Suzumoto" In-Reply-To: <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20130609023211.D8E42200EA@smtp.hushmail.com> Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 02:32:18 -0000 Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of each of them individually. Upon googling, I ran into a lot of suggestions like bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. I'm basically looking for a "vnstat that works per IP instead of per interface" kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty graphs(but that's nice too), just human-readable text is fine. Anyone have a recommendation? Some links I came across that were unhelpful: http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html http://forum.pfsense.org/index.php?&topic=32256.0 http://www.daemonforums.org/showthread.php?t=1199 Thanks From owner-freebsd-jail@FreeBSD.ORG Sun Jun 9 03:09:54 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 92AAD2BD for ; Sun, 9 Jun 2013 03:09:54 +0000 (UTC) (envelope-from spork@bway.net) Received: from smtp2.bway.net (smtp2.v6.bway.net [IPv6:2607:d300:1::28]) by mx1.freebsd.org (Postfix) with ESMTP id 707C91AC6 for ; Sun, 9 Jun 2013 03:09:54 +0000 (UTC) Received: from [10.3.2.41] (foon.sporktines.com [96.57.144.66]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: spork@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id 006C39586D; Sat, 8 Jun 2013 23:09:46 -0400 (EDT) References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Message-Id: Content-Transfer-Encoding: quoted-printable From: Charles Sprickman Subject: Re: Per-IP Bandwidth Monitoring Date: Sat, 8 Jun 2013 23:09:46 -0400 To: Kenta Suzumoto X-Mailer: Apple Mail (2.1085) Cc: freebsd-jail@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 03:09:54 -0000 On Jun 8, 2013, at 10:32 PM, Kenta Suzumoto wrote: > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them = attached to a specific jail. I'm wondering if there is an easy way to = monitor the bandwidth usage of each of them individually. Upon googling, = I ran into a lot of suggestions like bandwidthd. I gave it a try and it = seemed very broken and basically didn't work at all. I'm basically = looking for a "vnstat that works per IP instead of per interface" kind = of thing. jnettop wasn't what I was looking for. It doesn't have to make = pretty graphs(but that's nice too), just human-readable text is fine. = Anyone have a recommendation? This exposes lots of per-jail information via snmp, which makes it = fairly easy to graph or query from your monitoring/billing/etc: http://thewalter.net/stef/software/bsnmp-jails/ It hasn't been updated in some time, so I'm not sure if it will work = beyond 8.3. Charles >=20 > Some links I came across that were unhelpful:=20 > = http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5= 797422.html >=20 > http://forum.pfsense.org/index.php?&topic=3D32256.0 >=20 > http://www.daemonforums.org/showthread.php?t=3D1199 >=20 > Thanks >=20 > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" From owner-freebsd-jail@FreeBSD.ORG Sun Jun 9 03:10:45 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 50938335 for ; Sun, 9 Jun 2013 03:10:45 +0000 (UTC) (envelope-from lsc@prgmr.com) Received: from mail.xen.prgmr.com (mail.xen.prgmr.com [IPv6:2605:2700:0:5::4713:9506]) by mx1.freebsd.org (Postfix) with ESMTP id 3AECB1ADE for ; Sun, 9 Jun 2013 03:10:45 +0000 (UTC) Received: from localhost.localdomain (unknown [71.19.150.4]) (Authenticated sender: lsc) by mail.xen.prgmr.com (Postfix) with ESMTPSA id 5A02D72010E for ; Sat, 8 Jun 2013 23:11:45 -0400 (EDT) Message-ID: <51B3F233.20809@prgmr.com> Date: Sat, 08 Jun 2013 20:10:43 -0700 From: "Luke S. Crawford" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-jail@freebsd.org Subject: Re: Per-IP Bandwidth Monitoring References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 03:10:45 -0000 if you only care about IPv4, I've used bandwidthd[1] to great effect; it's trivial to setup and easy to use. But, I need IPv6 support, so this won't work for me anymore. I've been talking about trying to do something with pmacct[2] but never quite got it working properly. [1]http://bandwidthd.sourceforge.net/ [2]http://www.pmacct.net/ On 06/08/2013 07:32 PM, Kenta Suzumoto wrote: > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of each of them individually. Upon googling, I ran into a lot of suggestions like bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. I'm basically looking for a "vnstat that works per IP instead of per interface" kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty graphs(but that's nice too), just human-readable text is fine. Anyone have a recommendation? > > Some links I came across that were unhelpful: > http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html > > http://forum.pfsense.org/index.php?&topic=32256.0 > > http://www.daemonforums.org/showthread.php?t=1199 > > Thanks > > _______________________________________________ > 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" > From owner-freebsd-jail@FreeBSD.ORG Sun Jun 9 03:24:26 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0B7134D8; Sun, 9 Jun 2013 03:24:26 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 93D9E1B6A; Sun, 9 Jun 2013 03:24:25 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id f11so1747268qae.3 for ; Sat, 08 Jun 2013 20:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1gmJNU02JMPse5uEd7m9BpZTBB8otKCck8h+btZqlhw=; b=u72FoX6sIj6F1FpHHIsFxfPzhm3qaeB7lrgOejJd1mg63sdTT41jvYpEpqZ9Kofh9F eCaLQ+3wl/kYW1lIxXt574vk4L//IZ+rR8R8478VLfQX5lOZJyo3M3RcPQRir6YK8ru0 41O+BRk6WDfhU7tm5zPa0wOHv79Ux1nWycplnxPE7AdHnq8xvXdXFjljKi/KMNKo/fox Onml0dZalGKeLibmpCcWBatwuAGersDIS5TqAgH5GF6n8DCHryF4gs2ZyCgBMXbz8PCZ AVDhkETwou+GEEFEn3MrVUIAA8MlTaTHFActTIZngsCFWu4uwb8AbW9ShLnaobYRcbXq JCmQ== MIME-Version: 1.0 X-Received: by 10.49.11.168 with SMTP id r8mr5160488qeb.34.1370748265089; Sat, 08 Jun 2013 20:24:25 -0700 (PDT) Received: by 10.49.42.73 with HTTP; Sat, 8 Jun 2013 20:24:25 -0700 (PDT) In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> Date: Sat, 8 Jun 2013 20:24:25 -0700 Message-ID: Subject: Re: Per-IP Bandwidth Monitoring From: Xin LI To: Kenta Suzumoto Content-Type: text/plain; charset=UTF-8 Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-jail@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 03:24:26 -0000 Try this patch: https://cgit.delphij.net/freebsd/patch/?id=39c6ec81eb015ed6788c203a1aea6148f813d063 We haven't merged it to -HEAD only because it's not clear how much overhead this would incur. Cheers, From owner-freebsd-jail@FreeBSD.ORG Sun Jun 9 08:28:44 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B0E43121; Sun, 9 Jun 2013 08:28:44 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 373EC1D1D; Sun, 9 Jun 2013 08:28:43 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r598SQ2k072688; Sun, 9 Jun 2013 10:28:30 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <51B43C9F.70802@bananmonarki.se> Date: Sun, 09 Jun 2013 10:28:15 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130419 Thunderbird/17.0.5 MIME-Version: 1.0 To: Kenta Suzumoto Subject: Re: Per-IP Bandwidth Monitoring References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-jail@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 08:28:44 -0000 On 2013-06-09 04:32, Kenta Suzumoto wrote: > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of each of them individually. Upon googling, I ran into a lot of suggestions like bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. I'm basically looking for a "vnstat that works per IP instead of per interface" kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty graphs(but that's nice too), just human-readable text is fine. Anyone have a recommendation? > > Some links I came across that were unhelpful: > http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html > > http://forum.pfsense.org/index.php?&topic=32256.0 > > http://www.daemonforums.org/showthread.php?t=1199 > > Thanks IPFW with pipes. No graphs. man ipfw TRAFFIC SHAPER CONFIGURATION The ipfw pipe, queue and sched commands are used to configure the traffic shaper and packet scheduler. See the TRAFFIC SHAPER (DUMMYNET) CONFIGURATION Section below for details. If the world and the kernel get out of sync the ipfw ABI may break, pre- venting you from being able to add any rules. This can adversely effect the booting process. You can use ipfw disable firewall to temporarily disable the firewall to regain access to the network, allowing you to fix the problem. From owner-freebsd-jail@FreeBSD.ORG Sun Jun 9 12:55:23 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3B1CE209; Sun, 9 Jun 2013 12:55:23 +0000 (UTC) (envelope-from pjlists@netzkommune.de) Received: from mx1.dui.nkhosting.net (mx1.dui.nkhosting.net [213.9.94.26]) by mx1.freebsd.org (Postfix) with ESMTP id F0EA5185E; Sun, 9 Jun 2013 12:55:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.dui.nkhosting.net (Postfix) with ESMTP id E87D3211C54AE; Sun, 9 Jun 2013 12:48:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.dui.nkhosting.net Received: from mx1.dui.nkhosting.net ([127.0.0.1]) by localhost (mx1.dui.nkhosting.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xf3ojEhyin0E; Sun, 9 Jun 2013 12:48:02 +0200 (CEST) Received: from air13.home (AMontsouris-552-1-72-100.w92-140.abo.wanadoo.fr [92.140.39.100]) (Authenticated sender: pjlists@netzkommune.de) by mx1.dui.nkhosting.net (Postfix) with ESMTP id 598B4211C651D; Sun, 9 Jun 2013 12:48:02 +0200 (CEST) Subject: Re: Per-IP Bandwidth Monitoring Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Philip Jocks In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Date: Sun, 9 Jun 2013 12:47:59 +0200 Jabber-Id: pj@netzkommune.de Content-Transfer-Encoding: quoted-printable Message-Id: <89E98E53-6B11-468D-B160-2188FE189983@netzkommune.de> References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> To: Kenta Suzumoto X-Mailer: Apple Mail (2.1503) Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-jail@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 12:55:23 -0000 Am 09.06.2013 um 04:32 schrieb Kenta Suzumoto : > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them = attached to a specific jail. I'm wondering if there is an easy way to = monitor the bandwidth usage of each of them individually. Upon googling, = I ran into a lot of suggestions like bandwidthd. I gave it a try and it = seemed very broken and basically didn't work at all. I'm basically = looking for a "vnstat that works per IP instead of per interface" kind = of thing. jnettop wasn't what I was looking for. It doesn't have to make = pretty graphs(but that's nice too), just human-readable text is fine. = Anyone have a recommendation? >=20 > Some links I came across that were unhelpful:=20 > = http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5= 797422.html >=20 > http://forum.pfsense.org/index.php?&topic=3D32256.0 >=20 > http://www.daemonforums.org/showthread.php?t=3D1199 I was using sysutils/ipa for this. It works with IPFW and also with PF, = I think, I have just used it with ipfw, worked pretty fine. It also = supports all sorts of reporting. Cheers, Philip From owner-freebsd-jail@FreeBSD.ORG Mon Jun 10 11:06:51 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 19BCEFE0 for ; Mon, 10 Jun 2013 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id EF6891C8B for ; Mon, 10 Jun 2013 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5AB6ofD097003 for ; Mon, 10 Jun 2013 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5AB6oY2097001 for freebsd-jail@FreeBSD.org; Mon, 10 Jun 2013 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Jun 2013 11:06:50 GMT Message-Id: <201306101106.r5AB6oY2097001@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 Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 11:06:51 -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 bin/178302 jail jail(8): unknown parameter: ip6.addr when kernel compi o kern/176112 jail [jail] [panic] kernel panic when starting jails o kern/176092 jail [jail] [panic] Starting a jail on my releng/9.1 kernel o kern/174902 jail [jail] jail should provide validator for jail names o kern/174436 jail [jail] Jails with numbers as names don't work o bin/173469 jail [jail] regression: security.jail.sysvipc_allowed=1 no o kern/169751 jail [jail] reading routing information does not work in ja o bin/167911 jail new jail(8) problem with removal, ifconfg -alias and k o kern/159918 jail [jail] inter-jail communication failure o kern/156111 jail [jail] procstat -b not supported in jail o misc/155765 jail [patch] `buildworld' does not honors WITHOUT_JAIL o conf/154246 jail [jail] [patch] Bad symlink created if devfs mount poin 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 17 problems total. From owner-freebsd-jail@FreeBSD.ORG Tue Jun 11 13:26:05 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2ED41440 for ; Tue, 11 Jun 2013 13:26:05 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id C2AB212DD for ; Tue, 11 Jun 2013 13:26:04 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r5BDN003022610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 11 Jun 2013 15:23:01 +0200 Date: Tue, 11 Jun 2013 15:23:00 +0200 From: Albert Shih To: freebsd-jail@FreeBSD.org Subject: Big problem about ipc on 8.4 Message-ID: <20130611132300.GA27920@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 51B724B4.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 51B724B4.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 13:26:05 -0000 Hi everybody After I upgrade my server from 8.2 to 8.4 I've got a big problem about ipcs. In one of my jail I'm running uwsgi this software need a security.jail.sysvipc_allowed to be true, so since 8.2 I using jail_sysvipc_allow="YES" inside /etc/rc.conf (on the host). And everything work fine. After upgrading to 8.4 uwsgi stop working I got this message in the log of uwsgi (inside the jail) : emget(): Function not implemented [core/lock.c line 507] semctl(): Function not implemented [core/lock.c line 602] generally meaning some problem with systemvipc. I've check on the host : security.jail.sysvipc_allowed: 1 Anyone have a idea ? Regards. -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mar 11 jui 2013 15:16:51 CEST From owner-freebsd-jail@FreeBSD.ORG Tue Jun 11 14:07:33 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9F8C2E39 for ; Tue, 11 Jun 2013 14:07:33 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 3DAB51688 for ; Tue, 11 Jun 2013 14:07:33 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r5BE7VYS024171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 11 Jun 2013 16:07:32 +0200 Date: Tue, 11 Jun 2013 16:07:31 +0200 From: Albert Shih To: freebsd-jail@FreeBSD.org Subject: Re: Big problem about ipc on 8.4 Message-ID: <20130611140731.GD27920@pcjas.obspm.fr> References: <20130611132300.GA27920@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130611132300.GA27920@pcjas.obspm.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 51B72F23.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 51B72F23.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 14:07:33 -0000 Le 11/06/2013 ? 15:23:00+0200, Albert Shih a écrit > Hi everybody > > After I upgrade my server from 8.2 to 8.4 I've got a big problem about > ipcs. > > In one of my jail I'm running > > uwsgi > > this software need a security.jail.sysvipc_allowed to be true, so since 8.2 I using > > jail_sysvipc_allow="YES" > > inside /etc/rc.conf (on the host). And everything work fine. > > After upgrading to 8.4 uwsgi stop working I got this message in the log of > uwsgi > (inside the jail) : > > emget(): Function not implemented [core/lock.c line 507] > semctl(): Function not implemented [core/lock.c line 602] > > generally meaning some problem with systemvipc. > > I've check on the host : > > security.jail.sysvipc_allowed: 1 > > Anyone have a idea ? OK I find the solution. Just in case some have the same problem. In FreeBSD 8.4 some changes make you need to add jail_NAME_OF_JAIL_parameters="allow.sysvipc" in the rc.conf of the host. Regards. -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mar 11 jui 2013 16:06:21 CEST