Date: Mon, 21 Oct 2013 17:50:57 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: jase@FreeBSD.org Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r256498 - head/etc/rc.d Message-ID: <20131021.175057.1620369871932250305.hrs@allbsd.org> In-Reply-To: <52617089.6090708@FreeBSD.org> References: <201310150454.r9F4snOM001275@svn.freebsd.org> <52617089.6090708@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Mon_Oct_21_17_50_57_2013_192)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jase Thew <jase@FreeBSD.org> wrote in <52617089.6090708@FreeBSD.org>: ja> On 15/10/2013 05:54, Hiroki Sato wrote: ja> > Author: hrs ja> > Date: Tue Oct 15 04:54:49 2013 ja> > New Revision: 256498 ja> > URL: http://svnweb.freebsd.org/changeset/base/256498 ja> > ja> > Log: ja> > - Fix "ifname|addr" syntax support in jail_{jname}_ip. ja> > - Create /var/run/jail_{jname}.id because ezjail-admin depends on it. ja> > ja> > Modified: ja> > head/etc/rc.d/jail ja> > ja> ja> Hi Hiroki, ja> ja> This unfortunately breaks ezjail when the address list doesn't use iface ja> prefix syntax. ja> ja> Given this configuration : ja> ja> export jail_poudriere_ip="192.168.1.184,127.0.1.4,::1" ja> ja> results in the following being generated : ja> ja> ip4.addr += "|192.168.1.184/32"; ja> ip4.addr += "|127.0.1.4/32"; ja> ip6.addr += "|::1/64"; ja> ja> The attach patch corrects the issue by suffixing the iface value with ja> "|" only when it has a value. Thank you for your report. r256835 should fix it (and other issues). Please try it and let me know if it works fine. -- Hiroki ----Security_Multipart(Mon_Oct_21_17_50_57_2013_192)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlJk6vEACgkQTyzT2CeTzy3vaQCgtXHAAm9oMspq6B/y8kYeVYYB COsAoJOI99Mt/A51ZsrwouUqZ3Q1ifAY =5lC0 -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Oct_21_17_50_57_2013_192)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131021.175057.1620369871932250305.hrs>