From owner-freebsd-current@FreeBSD.ORG Sat Oct 12 14:29:55 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5526D181; Sat, 12 Oct 2013 14:29:55 +0000 (UTC) (envelope-from remko@freebsd.org) Received: from mail.jr-hosting.nl (mail.jr-hosting.nl [78.47.69.234]) by mx1.freebsd.org (Postfix) with ESMTP id CBD732FC8; Sat, 12 Oct 2013 14:29:54 +0000 (UTC) Received: from [IPv6:2001:470:d701::c092:f153:404c:9be7] (unknown [IPv6:2001:470:d701:0:c092:f153:404c:9be7]) by mail.jr-hosting.nl (Postfix) with ESMTPSA id D4D3838B108A; Sat, 12 Oct 2013 16:29:51 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_95E24EFA-909E-4591-A04C-B7807ECE4BAF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: svn commit: r256256 - in head: . etc etc/defaults etc/rc.d share/man/man5 usr.sbin/jail From: Remko Lodder In-Reply-To: <20131011141214.GA91989@mouf.net> Date: Sat, 12 Oct 2013 16:29:47 +0200 Message-Id: <4B2ECC28-4F63-448A-B99E-DC5215C5FFD0@freebsd.org> References: <04E9979E-1D97-4AA2-A7AE-F9D8457B3599@FreeBSD.org> <20131011141214.GA91989@mouf.net> To: Steve Wills X-Mailer: Apple Mail (2.1510) Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 14:29:55 -0000 --Apple-Mail=_95E24EFA-909E-4591-A04C-B7807ECE4BAF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Oct 11, 2013, at 4:12 PM, Steve Wills wrote: > I'm having the same issue. I am working with Hiroki to resolve this. So far his work seems to fix = this, he will commit that as soon as we can reasonable think that this is OK (and it looks that way :)) Thanks Hiroki! Remko >=20 > Steve >=20 > On Fri, Oct 11, 2013 at 03:05:51PM +0200, Remko Lodder wrote: >>=20 >> Dear Current readers, >>=20 >> Please find issues that I have with the latest /etc/rc.d/jail changes = and the use of ezjail. >>=20 >> Thanks >> remko >>=20 >>=20 >> Begin forwarded message: >>=20 >>> From: Remko Lodder >>> Subject: Re: svn commit: r256256 - in head: . etc etc/defaults = etc/rc.d share/man/man5 usr.sbin/jail >>> Date: October 11, 2013 3:04:12 PM GMT+02:00 >>> To: Hiroki Sato >>> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, = svn-src-head@freebsd.org >>>=20 >>>=20 >>> Hi Hiroki, >>>=20 >>> On Oct 10, 2013, at 11:32 AM, Hiroki Sato wrote: >>>=20 >>>> Author: hrs >>>> Date: Thu Oct 10 09:32:27 2013 >>>> New Revision: 256256 >>>> URL: http://svnweb.freebsd.org/changeset/base/256256 >>>>=20 >>>> Log: >>>> - Update rc.d/jail to use a jail(8) configuration file instead of >>>> command line options. The "jail__*" rc.conf(5) variables = for >>>> per-jail configuration are automatically converted to >>>> /var/run/jail..conf before the jail(8) utility is invoked. >>>> This is transparently backward compatible. >>>>=20 >>>> - Fix a minor bug in jail(8) which prevented it from returning = false >>>> when jail -r failed. >>>>=20 >>>=20 >>> Thanks for doing such a massive update. However it seems to break = the ezjail utility. >>> My jails didn't restart after I upgraded to the most recent -head = version=20 >>>=20 >>> FreeBSD nakur.elvandar.org 10.0-ALPHA6 FreeBSD 10.0-ALPHA6 #7 = r256311: Fri Oct 11 13:27:54 CEST 2013 = root@nakur.elvandar.org:/usr/obj/usr/src/sys/NAKUR amd64 >>>=20 >>> If I replace this with an older version, the utility starts and = complains about certain things not being done properly. The >>> system does not mount devfs nodes anylonger and thus is basically = out of function. >>>=20 >>> I was not expecting this much fallout from this change, others that = will be upgrading will loose the ability to start their jails until they = can >>> resolve this by hand. >>>=20 >>> Thanks >>> Remko >>>=20 >>>> Approved by: re (glebius) >>>>=20 >>>> Modified: >>>> head/UPDATING >>>> head/etc/defaults/rc.conf >>>> head/etc/rc.d/jail >>>> head/etc/rc.subr >>>> head/share/man/man5/rc.conf.5 >>>> head/usr.sbin/jail/jail.c >>>>=20 >>>> Modified: head/UPDATING >>>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>> --- head/UPDATING Thu Oct 10 07:41:11 2013 (r256255) >>>> +++ head/UPDATING Thu Oct 10 09:32:27 2013 (r256256) >>>> @@ -31,6 +31,25 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 >>>> disable the most expensive debugging functionality run >>>> "ln -s 'abort:false,junk:false' /etc/malloc.conf".) >>>>=20 >>>> +20131010: >>>> + The rc.d/jail script has been updated to support jail(8) >>>> + configuration file. The "jail__*" rc.conf(5) variables >>>> + for per-jail configuration are automatically converted to >>>> + /var/run/jail..conf before the jail(8) utility is = invoked. >>>> + This is transparently backward compatible. See below about some >>>> + incompatibilities and rc.conf(5) manual page for more details. >>>> + >>>> + These variables are now deprecated in favor of jail(8) = configuration >>>> + file. One can use "rc.d/jail config " command to = generate >>>> + a jail(8) configuration file in /var/run/jail..conf = without >>>> + running the jail(8) utility. The default pathname of the >>>> + configuration file is /etc/jail.conf and can be specified by >>>> + using $jail_conf or $jail__conf variables. >>>> + >>>> + Please note that jail_devfs_ruleset accepts an integer at >>>> + this moment. Please consider to rewrite the ruleset name >>>> + with an integer. >>>> + >>>> 20130930: >>>>=20 >>=20 >> --=20 >> /"\ With kind regards, | remko@elvandar.org >> \ / Remko Lodder | remko@FreeBSD.org >> X FreeBSD | = http://www.evilcoder.org >> / \ The Power to Serve | Quis custodiet ipsos custodes >>=20 >=20 >=20 --=20 /"\ With kind regards, | remko@elvandar.org \ / Remko Lodder | remko@FreeBSD.org X FreeBSD | = http://www.evilcoder.org / \ The Power to Serve | Quis custodiet ipsos custodes --Apple-Mail=_95E24EFA-909E-4591-A04C-B7807ECE4BAF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJSWVzbAAoJEKjD27JZ84ywD4cQAJ0KKhWnNylLmAeMpET/gBjQ RvICjTPdE1SWf8DUY5zzsT86Qi0LbYPxjCbaqbzyF1/byFFbWsmO8Of7xE7UjvCz 1zsW5WkbsaAIJBnrTvq2JD+Uvi6vkuoc2LBLpA8EHGrk4q2QvQOJM5h+wjqefS4a 1tnUXFBks9OVuS22C0ytb4bXkOycUJQI0Fa2wwdatG0b/1dwbAJef2Iyi38rDemB JQVTGk0Ex+XeB8hKFU0oeVUP5Il2odeobti5GTE8WoMjuZdUqlHMC3/osc8K4LWW Y6EyO7SQBY28yD6WpOeDo1ApZuk1meatGTQ/YdTMpcfVtRqRT9q+ISv5F9jQqCI6 gKwXl0nEXc25Wd4/6B7teiPvcfMei4GgNfVfb/zFs4fruh20Q16HRAc6bqkb4qmW v7hVmv95N/nj1H4gGopG6oFTa3bIGDckNvBOaKfENVgWM40LM/D5g5VLndfqnq1e nMtS7udRXF0FXsTFj3tyVs3I72341SFjjMFuw5XyPPUDiDR3MOD/Ekfpv3JF/XP1 MBvY1tpvMm/naIzzM2UaRMdXAx25FfTvbQdgeuomcEQqFjwLA3og9RLHZBpZ1tcS OEMb1Zi9AUOtIbjKzPSinrmxCtPjuBl4ybGk908bgcYwSrZLM/FiZ3Dvwiw+WnTx y2uQXpIhZ5c4GZDMhCuH =Zfx1 -----END PGP SIGNATURE----- --Apple-Mail=_95E24EFA-909E-4591-A04C-B7807ECE4BAF--