Re: BUG in jail(8) variable substitution, and PATCH

2013-10-20 Thread Dirk Engling
On 21.10.13 07:08, Dirk Engling wrote: > to make the offset permanent. Find a patch attached. The patch's white spaces have been mangled, find the correct patch here: https://erdgeist.org/arts/software/jail/usr.sbin.jail-substitution.patch Regards, erdgeist __

BUG in jail(8) variable substitution, and PATCH

2013-10-20 Thread Dirk Engling
The variable substitution of FreeBSD's jail tool yields unexpected results when a parameter has more than one variable to substitute and one of the later variables needs substitution as well. Consider the simple test case: $A = "A_${B}_C_${D}"; $B = "B"; $D = "D_${E}_F"; $E = "E";