svn commit: r256498 - head/etc/rc.d

Hiroki Sato hrs at FreeBSD.org
Mon Oct 21 08:51:22 UTC 2013


Jase Thew <jase at FreeBSD.org> wrote
  in <52617089.6090708 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20131021/ea00316d/attachment.sig>


More information about the svn-src-head mailing list