/etc/rc.d/jail question

From: Shizuka Kudo <shizukakudo_99_at_yahoo.com>
Date: Fri, 18 Apr 2003 23:59:24 -0700 (PDT)
I have tried the newly included /etc/rc.d/jail and found that ${_jail_name} was never initialized.
 I believe it is a typo, and the following patch works for me.

_at__at_ -51,7 +51,7 _at__at_
                eval jail_rootdir=\"\$jail_${_jail}_rootdir\"
                eval jail_hostname=\"\$jail_${_jail}_hostname\"
                eval jail_ip=\"\$jail_${_jail}_ip\"
-               eval jail_exec=\"\$jail_${_jail_name}_exec\"
+               eval jail_exec=\"\$jail_${_jail}_exec\"
                [ -z ${jail_exec} ] && jail_exec="/bin/sh /etc/rc"

                jail ${jail_rootdir} ${jail_hostname} ${jail_ip} ${jail_exec}



__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
Received on Fri Apr 18 2003 - 21:59:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC