From owner-freebsd-jail@FreeBSD.ORG Mon Oct 29 11:06:34 2012 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0A41B40 for ; Mon, 29 Oct 2012 11:06:34 +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 D46C28FC08 for ; Mon, 29 Oct 2012 11:06:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9TB6YF6028520 for ; Mon, 29 Oct 2012 11:06:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9TB6YiI028518 for freebsd-jail@FreeBSD.org; Mon, 29 Oct 2012 11:06:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Oct 2012 11:06:34 GMT Message-Id: <201210291106.q9TB6YiI028518@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, 29 Oct 2012 11:06:35 -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/173120 jail [kernel] [jail] jail delete causes panic (patch includ 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 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 14 problems total. From owner-freebsd-jail@FreeBSD.ORG Sat Nov 3 12:50:17 2012 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08BDBA28; Sat, 3 Nov 2012 12:50:17 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2E28C8FC08; Sat, 3 Nov 2012 12:50:16 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1793037bkc.13 for ; Sat, 03 Nov 2012 05:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=MP82FljMR+2pnjaCANwnGe5TREQDYYV/MxKD2+6rrCo=; b=itiuHMVBup0R2QOUbB/1RT0sv+f8RKDMCaueiOP/VnrmT7YD/XrwEofOjiO311lShh 4+lh+RDXbRy23zzxvAO/uIMkv/iVI0GgX5FDAE1m4vO4rXqTCnhmFzdbQTeSg+p/7+EF Tpsc6BMXQzc29QmPVISwuh9yxS3TBxtqVmwtsAUPuZ4O0N/4BBQs2lt3yAKsrN0rrQBP a30Tom0ZKN5n8dctv59YO75w5BqtfwVcXTwJ6LWcyCWNlcx3S/WoNDpIwQLlJ40zWkse 1LYDx+He2scmv5F29jjZjzBaBtS2lL8w6D9BQY66yDprlzuVctrxKAbf14F3joDdZH0a qgrQ== Received: by 10.204.156.74 with SMTP id v10mr1091545bkw.39.1351947014299; Sat, 03 Nov 2012 05:50:14 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Sat, 3 Nov 2012 05:49:44 -0700 (PDT) In-Reply-To: <201211031221.qA3CLwHO062890@freefall.freebsd.org> References: <201211031221.qA3CLwHO062890@freefall.freebsd.org> From: Chris Rees Date: Sat, 3 Nov 2012 12:49:44 +0000 X-Google-Sender-Auth: nWhoELdn15MMouC_s3SbrJJueK4 Message-ID: Subject: Fwd: conf/142973: [jail] [patch] Strange counter init value in jail rc To: jail@freebsd.org, ru@freebsd.org, matteo@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Sat, 03 Nov 2012 12:50:17 -0000 Hi Matteo, Ruslan You both put the code in for jail_poststart and jail_afterstart in rc.d/jail [1,2], and I have a couple of questions about it. I can see that the first function written was jail_afterstart, and that started counting from 1, and I can see that subsequently jail_poststart was added that started counting from zero. I've replied to the PR below with a patch to start jail_afterstart counting from 0 yet still working with a warning for those who have started counting from 1. Is there a difference between poststart/afterstart? Only afterstart is documented (incorrectly). Chris [1] http://svnweb.FreeBSD.org/base/head/etc/rc.d/jail?r1=191619&r2=191620 [2] http://svnweb.FreeBSD.org/base/head/etc/rc.d/jail?r1=159071&r2=159072& ---------- Forwarded message ---------- From: Date: 3 November 2012 12:21 Subject: Re: conf/142973: [jail] [patch] Strange counter init value in jail rc To: david@nfrance.com, crees@freebsd.org, freebsd-rc@freebsd.org Synopsis: [jail] [patch] Strange counter init value in jail rc State-Changed-From-To: open->analyzed State-Changed-By: crees State-Changed-When: Sat Nov 3 12:21:57 UTC 2012 State-Changed-Why: This is a pickle indeed. Moany people will have used it starting from 1, since the original code was intended to count from 1; see r159072. However, the prestart code added in r191620 counts from 0. The patch at http://www.bayofrum.net/~crees/patches/142973.diff makes it count from 0, but still work with a warning if the user has started at 1. I will talk to the developers concerned. http://www.freebsd.org/cgi/query-pr.cgi?pr=142973 From owner-freebsd-jail@FreeBSD.ORG Sat Nov 3 21:53:06 2012 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 204BFAB7; Sat, 3 Nov 2012 21:53:06 +0000 (UTC) (envelope-from jamie@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 E120E8FC0A; Sat, 3 Nov 2012 21:53:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA3Lr5sx012380; Sat, 3 Nov 2012 21:53:05 GMT (envelope-from jamie@freefall.freebsd.org) Received: (from jamie@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA3Lr4Xj012376; Sat, 3 Nov 2012 21:53:04 GMT (envelope-from jamie) Date: Sat, 3 Nov 2012 21:53:04 GMT Message-Id: <201211032153.qA3Lr4Xj012376@freefall.freebsd.org> To: steven.hartland@multiplay.co.uk, jamie@FreeBSD.org, freebsd-jail@FreeBSD.org From: jamie@FreeBSD.org Subject: Re: kern/173120: [kernel] [jail] jail delete causes panic (patch included) 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: Sat, 03 Nov 2012 21:53:06 -0000 Synopsis: [kernel] [jail] jail delete causes panic (patch included) State-Changed-From-To: open->closed State-Changed-By: jamie State-Changed-When: Sat Nov 3 21:49:55 UTC 2012 State-Changed-Why: Patched with a long overdue MFC of r225191. http://www.freebsd.org/cgi/query-pr.cgi?pr=173120