Some changes in /etc/rc.d/jail

Rodrigo Mosconi freebsd at mosconi.mat.br
Tue Jun 22 14:15:05 UTC 2010


Interesting your how-to, but on my system the PF and IPFilter crash my
kernel when I try to start

2010/6/22 David BÉRARD <david at nfrance.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi !
>
> Alexander Petrovsky wrote:
>> But the current /etc/rc.d/jail doesn't support execute _exec_prestart FIRST,
>> _exec_prestart executed after execute mount function, and so I made some
>> changes in the /etc/rc.d/jail.
>
> I don't think it's a god idea to move '_exec_prestart' to the top.
> If someone use '_exec_prestart' to manipulate files in a jail mount point.
>
> Maybe it can be better to make a new '_exec_earlyprestart' loop to resolve your
> problem.
>
> I had some networking issue with my patch, because vnet networking start too
> late, you can find a new version of this patch (with example) at :
>        http://wiki.polymorf.fr/index.php/Howto:FreeBSD_jail_vnet
>
> Best regards,
>
> - --
> David BERARD
> - ---------------------------------------
> NFrance Conseil, Toulouse, France
> david(at)nfrance.com
> GPG|PGP KeyId 0x7FC68EB8
> GPG|PGP Key http://tinyurl.com/gpgdavid
> - ---------------------------------------
> *     No electrons were harmed in     *
> *    the transmission of this email   *
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAkwgmaYACgkQYIAREn/GjrgOTQCgti0uI3PijCCKcZBW1ajBprDV
> VH0AnjMVy3mEVUDaRy7vXmRW/QfrLcY6
> =GeKY
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
>


More information about the freebsd-jail mailing list