Jase Thew <j...@freebsd.org> wrote
  in <52617089.6090...@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

Attachment: pgpMWhwjcChZd.pgp
Description: PGP signature

Reply via email to