From owner-freebsd-ports-bugs@freebsd.org Wed Jan 27 02:14:18 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07114A6E736 for ; Wed, 27 Jan 2016 02:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2155D1C for ; Wed, 27 Jan 2016 02:14:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0R2EHo6022336 for ; Wed, 27 Jan 2016 02:14:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206654] sysutils/qjail speed up jail creation and other fixes Date: Wed, 27 Jan 2016 02:14:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: qjail1@a1poweruser.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2016 02:14:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206654 --- Comment #1 from Joe Barbish --- Thank you Steven Hartland for taking the time and effort to submit your pat= ch. I am currently out of the country on a government contract which ends March= 30 2016. I will not be able to address this until after then.=20 My original plans are to wait until Release 11.0 is published because it's suppose to included an updated VIMAGE that is included as part of the base system. This will require testing of the qjail VIMAGE function that may res= ult in some changes.=20=20=20 Change # 1. Previously assigned IP verification routine for ipv4 & ipv6. In general I approval of what your trying to do.=20 Change # 2. Increase the max duplication limit from 100 to 254. This value = has nothing to do with the max value in the last octal in ipv4 ip addresses. It just controls the loop for automatically creating jails with the same jail = name prefix. The user must be aware of the starting ipv4 address stays valid when bumped by 1 for each iteration of the duplication loop. The logic behind the 100 max value is to prevent the user from entering an erroneous value. In y= our case of creating thousands of jails is unique. In general I see no problem = of increasing the max limit to 254.=20=20 Change # 3. "Ignore missing definitions in some situations. When running parallel qjail creates we we're seeing random failures due to temporary definition files, which then disappeared. We deal with this by allowing read-definition to fail."=20 With out further testing research I can not accept your solution. To me, The symptoms you are experiencing indicates that the same jail name is being created by error during parallel creates. A review of the qjail create comm= ands being run through different terminal sessions need further inspection. Plea= se describe in greater detail just what your doing giving the qjail commands issued that recreate the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=