It seems that FreeBSD 8 does not like to start rc scripts named *.sh. Here is a 
little
patch for the script ezjail-admin which seems to fix the problem.


--- ezjail-admin        2009/12/20 23:28:09     1.1+++ ezjail-admin     
2009/12/20 23:28:26
@@ -550,7 +550,7 @@

     # If a config is found, make it auto run on jails startup
     if [ -f "${ezjail_rootdir}/ezjail.flavour" ]; then
-      ln -s /ezjail.flavour "${ezjail_rootdir}/etc/rc.d/ezjail-config.sh"
+      ln -s /ezjail.flavour "${ezjail_rootdir}/etc/rc.d/ezjail-config"
       chmod 0700 "${ezjail_rootdir}/ezjail.flavour"
       echo "Note: Shell scripts installed, flavourizing on jails first 
startup."
     fi


I think ezjail urgently needs some updates in order not to remain behind the new
features in FreeBSD which can dramatically improve the jail system usage (vnet,
ZFS, multiple FIB support, etc).  I'm not a shell script expert, but my everyday
work gives me the chance to have a pretty high-level view on what is needed.  
I'll be
glad to be contacted off-list by someone with some shell scripting skills and a 
few
hours of spare time to spend with me on this very useful tool.


Andrew

----------------------------------------> To: freebsd-questi...@k-moeller.dk
> From: b...@ipt.ru
> Date: Thu, 17 Dec 2009 11:35:51 +0300
> CC: freebsd-jail@freebsd.org
> Subject: Re: ezjail.flavour
>
> Kalle Møller  writes:
>
>>> I've got the same behaviour. Seems that the script ezjail.flavour
>>> is not executed because it uses old rc rules and so it is ingored
>>> at startup.
>> What are the new rc rules, because it looks fair simple to correct, went
>> through the code yesterday.
>
> Well, I'm not an rc guru. But seems that RC(8) may be a good start.
>
> --
> WBR, bsam
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
                                          
_________________________________________________________________
Windows Live Hotmail: Your friends can get your Facebook updates, right from 
Hotmail®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009_______________________________________________
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Reply via email to