From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 23 15:43:41 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0E0CAE54 for ; Thu, 23 Apr 2015 15:43:41 +0000 (UTC) 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 D162A1F0B for ; Thu, 23 Apr 2015 15:43:40 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3NFheea095536 for ; Thu, 23 Apr 2015 15:43:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199586] sysutils/qjail: Configurable directory Date: Thu, 23 Apr 2015 15:43:41 +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 Some People X-Bugzilla-Who: qjail1@a1poweruser.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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: Thu, 23 Apr 2015 15:43:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199586 --- Comment #3 from Joe Barbish --- I am the maintainer of qjail. Versions of qjail 2.x and older had such a function based on a conf file just like you have proposed. Users who were using it were only interested in changing the path location of where the qjail system built its jail directories, "IE /usr/jails". I suspect this is also the function you are really after. All the qjail variables targeting internal use only files have to be in "/usr/local/etc". This is a FreeBSD standard so it should not be changed and was never part of the old directory path conf file. The problem that came to light using a directory path conf file is that for existing users who upgraded to a newer version of qjail lost their customized directory path conf file because the ports pkg-plist deleted it as part of installing the new version. From that point on qjail was blind to the existing jails until the user re-did the change again. It was decided that changing the directory path default was an advanced user function and as such the user must have some basic understanding of script language and the internal workings of qjail. That it was simpler for the advanced user to edit the qjail script changing the value of the "jaildir" variable to the desired path. Redoing the same change after a qjail upgrade is the advanced users responsibility. The qjail.8 manual will be updated to include information on this subject for qjail-3.9. The hard coded "/usr/jails" in the qjail.vnet.be & qjail.vnet.ng scripts will be corrected to use the jaildir variable in qjail-3.9. This PR can be closed now. -- You are receiving this mail because: You are the assignee for the bug.